예제 #1
0
    url(r'^programs?/tutorials/$',
        TutorialProposalList.as_view(), name='tutorials'),
    url(r'^programs?/tutorial/(?P<pk>\d+)$',
        TutorialProposalDetail.as_view(), name='tutorial'),
    url(r'^programs?/tutorial/(?P<pk>\d+)/join/$',
        login_required(tutorial_join), name='tutorial-join'),
    url(r'^cfp/propose/$',
        login_required(ProposalCreate.as_view()), name='propose'),
    url(r'^cfp/tutorial-propose/$',
        login_required(TutorialProposalCreate.as_view()), name='tutorial-propose'),
    url(r'^profile/proposal/$',
        login_required(ProposalDetail.as_view()), name='proposal'),
    url(r'^profile/proposal/edit$',
        login_required(ProposalUpdate.as_view()), name='proposal-update'),
    url(r'^profile/tutorial-proposal/edit$',
        login_required(TutorialProposalUpdate.as_view()), name='tutorial-proposal-update'),
    url(r'^profile$',
        login_required(ProfileDetail.as_view()), name='profile'),
    url(r'^profile/edit$',
        login_required(ProfileUpdate.as_view()), name='profile_edit'),

    url(r'^login/$', login, name='login'),
    url(r'^login/req/(?P<token>[a-z0-9\-]+)$', login_req, name='login_req'),
    url(r'^login/mailsent/$', login_mailsent, name='login_mailsent'),
    url(r'^logout/$', logout, name='logout'),

    url(r'^registration/', include('registration.urls')),
    url(r'^robots.txt$', robots, name='robots'),
    url(r'^summernote/', include('django_summernote.urls')),
    url(r'^admin/', include(admin.site.urls)),
예제 #2
0
파일: urls.py 프로젝트: scari/pyconkr-2017
     login_required(tutorial_join),
     name='tutorial-join'),
 url(r'^cfp/propose/$',
     login_required(ProposalCreate.as_view()),
     name='propose'),
 url(r'^cfp/tutorial-propose/$',
     login_required(TutorialProposalCreate.as_view()),
     name='tutorial-propose'),
 url(r'^profile/proposal/$',
     login_required(ProposalDetail.as_view()),
     name='proposal'),
 url(r'^profile/proposal/edit$',
     login_required(ProposalUpdate.as_view()),
     name='proposal-update'),
 url(r'^profile/tutorial-proposal/edit$',
     login_required(TutorialProposalUpdate.as_view()),
     name='tutorial-proposal-update'),
 url(r'^profile$', login_required(ProfileDetail.as_view()), name='profile'),
 url(r'^profile/edit$',
     login_required(ProfileUpdate.as_view()),
     name='profile_edit'),
 url(r'^login/$', login, name='login'),
 url(r'^login/req/(?P<token>[a-z0-9\-]+)$', login_req, name='login_req'),
 url(r'^login/mailsent/$', login_mailsent, name='login_mailsent'),
 url(r'^logout/$', logout, name='logout'),
 url(r'^registration/', include('registration.urls')),
 url(r'^robots.txt$', robots, name='robots'),
 url(r'^summernote/', include('django_summernote.urls')),
 url(r'^admin/', include(admin.site.urls)),
 url(r'^accounts/', include('allauth.urls')),
 url(r'^i18n/', include('django.conf.urls.i18n')),
예제 #3
0
    url(r'^programs?/sprint/(?P<pk>\d+)/join/$',
        login_required(sprint_join), name='sprint-join'),

    url(r'^cfp/propose/$',
        login_required(ProposalCreate.as_view()), name='propose'),
    url(r'^cfp/tutorial-propose/$',
        login_required(TutorialProposalCreate.as_view()), name='tutorial-propose'),
    url(r'^profile/proposal/$',
        login_required(ProposalDetail.as_view()), name='proposal'),
    url(r'^cfp/sprint-propose/$',
        login_required(SprintProposalCreate.as_view()), name='sprint-propose'),

    url(r'^profile/proposal/edit$',
        login_required(ProposalUpdate.as_view()), name='proposal-update'),
    url(r'^profile/tutorial-proposal/edit$',
        login_required(TutorialProposalUpdate.as_view()), name='tutorial-proposal-update'),
    url(r'^profile/sprint-proposal/edit$',
        login_required(SprintProposalUpdate.as_view()), name='sprint-proposal-update'),
    url(r'^profile$',
        login_required(ProfileDetail.as_view()), name='profile'),
    url(r'^profile/edit$',
        login_required(ProfileUpdate.as_view()), name='profile_edit'),

    url(r'^login/$', login, name='login'),
    url(r'^login/req/(?P<token>[a-z0-9\-]+)$', login_req, name='login_req'),
    url(r'^login/mailsent/$', login_mailsent, name='login_mailsent'),
    url(r'^logout/$', logout, name='logout'),

    url(r'^registration/', include('registration.urls')),

    # for rosetta