project/urls.py
changeset 213 079c29b18517
parent 192 d87f0cd436e6
child 217 29e341584aba
equal deleted inserted replaced
212:047b2f49979c 213:079c29b18517
   104         direct_to_template, {"template": "talk/talks-cfp.html"},
   104         direct_to_template, {"template": "talk/talks-cfp.html"},
   105         name='scipycon_talks_cfp'),
   105         name='scipycon_talks_cfp'),
   106     url(r'^%s/talks-cfp/schedule/$' % (SCOPE_ARG_PATTERN),
   106     url(r'^%s/talks-cfp/schedule/$' % (SCOPE_ARG_PATTERN),
   107         direct_to_template, {"template": "talk/schedule.html"},
   107         direct_to_template, {"template": "talk/schedule.html"},
   108         name='scipycon_schedule'),
   108         name='scipycon_schedule'),
   109     url(r'^%s/talks-cfp/tutorial/$' % (SCOPE_ARG_PATTERN),
   109     # url(r'^%s/talks-cfp/tutorial/$' % (SCOPE_ARG_PATTERN),
   110         direct_to_template, {"template": "talk/tutorial-schedule.html"},
   110     #     direct_to_template, {"template": "talk/tutorial-schedule.html"},
   111         name='scipycon_tutorial_schedule'),
   111     #     name='scipycon_tutorial_schedule'),
   112     url(r'^%s/talks-cfp/sprint/$' % (SCOPE_ARG_PATTERN),
   112     # url(r'^%s/talks-cfp/sprint/$' % (SCOPE_ARG_PATTERN),
   113         direct_to_template, {"template": "talk/sprint-schedule.html"},
   113     #     direct_to_template, {"template": "talk/sprint-schedule.html"},
   114         name='scipycon_sprint_schedule'),
   114     #     name='scipycon_sprint_schedule'),
   115     url(r'^%s/talks-cfp/speakers/$' % (SCOPE_ARG_PATTERN),
   115     url(r'^%s/talks-cfp/speakers/$' % (SCOPE_ARG_PATTERN),
   116         direct_to_template, {"template": "talk/speakers.html"},
   116         direct_to_template, {"template": "talk/speakers.html"},
   117         name='scipycon_speakers'),
   117         name='scipycon_speakers'),
   118     url(r'^%s/publicity/$' % (SCOPE_ARG_PATTERN),
   118     url(r'^%s/publicity/$' % (SCOPE_ARG_PATTERN),
   119         direct_to_template, {"template": "about/publicity.html"},
   119         direct_to_template, {"template": "about/publicity.html"},
   122         direct_to_template, {"template": "about/fees.html"},
   122         direct_to_template, {"template": "about/fees.html"},
   123         name='scipycon_fees'),
   123         name='scipycon_fees'),
   124     url(r'^%s/organizers/$' % (SCOPE_ARG_PATTERN),
   124     url(r'^%s/organizers/$' % (SCOPE_ARG_PATTERN),
   125         direct_to_template, {"template": "about/organizers.html"},
   125         direct_to_template, {"template": "about/organizers.html"},
   126         name='scipycon_organizers'),
   126         name='scipycon_organizers'),
   127 
   127     url(r'^%s/talks-cfp/conference/$' % (SCOPE_ARG_PATTERN),
       
   128         direct_to_template, {"template": "talk/conf_schedule.html"},
       
   129         name='scipycon_conference'),
       
   130     url(r'^%s/tutorial/$' % (SCOPE_ARG_PATTERN),
       
   131         direct_to_template, {"template": "about/tutorial.html"},
       
   132         name='scipycon_tutorial'),
       
   133     url(r'^%s/sprints/$' % (SCOPE_ARG_PATTERN),
       
   134         direct_to_template, {"template": "about/sprints.html"},
       
   135         name='scipycon_sprints'),
   128     )
   136     )
   129 
   137 
   130 # Password reset
   138 # Password reset
   131 urlpatterns += patterns('django.contrib.auth.views',
   139 urlpatterns += patterns('django.contrib.auth.views',
   132      url(r'^password-reset/$', 'password_reset', name='scipycon_password_reset'),
   140      url(r'^password-reset/$', 'password_reset', name='scipycon_password_reset'),