コード例 #1
0
from apps.session.urls import url

# This url is under "session/message/"
urlpatterns = [
    url(r'^$', 'apps.session.message.views.check_message'),
    url(r'^send/', 'apps.session.message.views.send_message'),
    url(r'^thread/$', 'apps.session.message.views.go_thread'),
    url(r'^thread/(?P<nickname>[a-z A-Z 0-9]+)/',
        'apps.session.message.views.check_thread'),
    # ex) session/message/thread/tonykim
    url(r'^sent/', 'apps.session.message.views.check_sent_message'),
    url(r'^block/', 'apps.session.message.views.block'),
    url(r'^blocklist/', 'apps.session.message.views.show_block_list'),
]
コード例 #2
0
ファイル: urls.py プロジェクト: Shavakan/araplus
from apps.session.urls import url


# This url is under "session/message/"
urlpatterns = [
    url(r'^$', 'apps.session.message.views.check_message'),
    url(r'^send/', 'apps.session.message.views.send_message'),
    url(r'^thread/$', 'apps.session.message.views.go_thread'),
    url(r'^thread/(?P<nickname>[a-z A-Z 0-9]+)/',
        'apps.session.message.views.check_thread'),
    # ex) session/message/thread/tonykim
    url(r'^sent/', 'apps.session.message.views.check_sent_message'),
    url(r'^block/', 'apps.session.message.views.block'),
    url(r'^blocklist/', 'apps.session.message.views.show_block_list'),
]
コード例 #3
0
ファイル: urls.py プロジェクト: Shavakan/araplus
from apps.session.urls import url


# This url is under "session/group/"
urlpatterns = [
    url(r'^$', 'apps.session.group.views.view_group_list'),
    url(r'^make/', 'apps.session.group.views.make_group'),
    url(r'^message/(?P<groupname>[a-z A-Z 0-9]+)/$',
        'apps.session.group.views.group_message'),
    url(r'^message/(?P<groupname>[a-z A-Z 0-9]+)/manage/',
        'apps.session.group.views.manage'),
]
コード例 #4
0
from apps.session.urls import url

# This url is under "session/group/"
urlpatterns = [
    url(r'^$', 'apps.session.group.views.view_group_list'),
    url(r'^make/', 'apps.session.group.views.make_group'),
    url(r'^message/(?P<groupname>[a-z A-Z 0-9]+)/$',
        'apps.session.group.views.group_message'),
    url(r'^message/(?P<groupname>[a-z A-Z 0-9]+)/manage/',
        'apps.session.group.views.manage'),
]