示例#1
0
文件: urls.py 项目: djudman/myfeed
from web.util.urls import url
from web.apps.github.hooks import hook_callback


urls = (
    url('/github/hook/', hook_callback, method='POST'),
)
示例#2
0
文件: urls.py 项目: djudman/myfeed
from web.util.urls import url
from web.apps.vk.oauth import oauth_redirect, oauth_callback


urls = (
    url('/vk/oauth_redirect/', oauth_redirect, name='vk_oauth'),
    url('/vk/oauth/', oauth_callback)
)
示例#3
0
文件: urls.py 项目: djudman/myfeed
from web.util.urls import url
from web.apps.feed.views import feed_view


urls = (
    url('/feed/', feed_view, name='feed'),
)
示例#4
0
文件: urls.py 项目: djudman/myfeed
from web.util.urls import url
from web.apps.index.index import render_main_page


urls = (
    url('/', render_main_page),
)