예제 #1
0
from grants.views import (GrantRequestCreateView, GrantTypeListView,
                          LocalConfCreateView, LocalConfDetailView,
                          LocalConfDownloadAttachmentView)

from nominations.views import (NominationCreateView, NominationTypeListView,
                               NomineeListView, ViewNominationListView,
                               CreateVoteUrlView, ViewNominations,
                               VotingSummaryList)
from board.views import BoardListView

urlpatterns = patterns(
    '',
    # Examples:
    url(r'^$', TemplateView.as_view(template_name='index.html', ),
        name='home'),
    url(r'^about/$', BoardListView.as_view(), name='about-static'),
    url(r'^membership/$',
        TemplateView.as_view(template_name='membership.html', ),
        name='membership-static'),
    url(r'^usergroups/$',
        TemplateView.as_view(template_name='user_groups.html', ),
        name='usergroups-static'),
    url(r'^pyconindia/$',
        TemplateView.as_view(template_name='pyconindia.html', ),
        name='pyconindia-static'),
    url(r'^awards/$',
        TemplateView.as_view(template_name='awards.html', ),
        name='awards-static'),
    url(r'^by-laws/$',
        TemplateView.as_view(template_name='by_laws.html', ),
        name='by-laws'),
예제 #2
0
# coding: utf-8
from django.conf.urls import patterns, url

from board.views import BoardListView, AddMessageView

urlpatterns = patterns(
    '',
    url(r'^add_message/$', AddMessageView.as_view(), name='add_message'),
    url(r'^list/$', BoardListView.as_view(), name='message_list'),
)
예제 #3
0
# coding: utf-8
from django.conf.urls import patterns, url

from board.views import BoardListView, AddMessageView


urlpatterns = patterns(
    "",
    url(r"^add_message/$", AddMessageView.as_view(), name="add_message"),
    url(r"^list/$", BoardListView.as_view(), name="message_list"),
)
예제 #4
0
from django.urls import path
from board.views import (
    BoardListView,
    GetBoardView,
    CommentView,
    AddSelfCommentView,
    LikeBoardView,
    LikeCommentView,
)

urlpatterns = [
    path('/main', BoardListView.as_view()),
    path('/feed/<int:board_id>', GetBoardView.as_view()),
    path('/comment', CommentView.as_view()),
    path('/addselfcomment', AddSelfCommentView.as_view()),
    path('/like', LikeBoardView.as_view()),
    path('/likecomment', LikeCommentView.as_view()),
]
예제 #5
0
    NominationCreateView,
    NominationTypeListView,
    NomineeListView,
    ViewNominationListView,
    CreateVoteUrlView,
    ViewNominations,
    VotingSummaryList)
from board.views import BoardListView

urlpatterns = patterns(
    '',
    # Examples:
    url(r'^$', TemplateView.as_view(
        template_name='index.html',
    ), name='home'),
    url(r'^about/$', BoardListView.as_view(), name='about-static'),

    url(r'^membership/$', TemplateView.as_view(
        template_name='membership.html',
    ), name='membership-static'),
    url(r'^usergroups/$', TemplateView.as_view(
        template_name='user_groups.html',
    ), name='usergroups-static'),
    url(r'^pyconindia/$', TemplateView.as_view(
        template_name='pyconindia.html',
    ), name='pyconindia-static'),
    url(r'^awards/$', TemplateView.as_view(
        template_name='awards.html',
    ), name='awards-static'),

    url(r'^by-laws/$', TemplateView.as_view(