Commit 43236550 authored by chris's avatar chris

path error 2

parent 1967415c
# Here are the views for nuages.sondage
# Here are the views for sondage
import datetime
from django.http import HttpResponse, HttpResponseRedirect
......
......@@ -27,20 +27,20 @@ urlpatterns = patterns('',
(r'^$', 'django.views.generic.list_detail.object_list', dict(info_dict, template_name='index.html')),
(r'^nuages$', 'django.views.generic.simple.direct_to_template', {'template': 'nuages.html'}),
(r'^(?P<poll_id>\w{4})/$', 'nuages.sondage.views.vote'),
(r'^new/$', 'nuages.sondage.views.new'),
(r'^(?P<object_id>\w+)/edit/$', 'nuages.sondage.views.secure_update_object', dict(poll_dict, post_save_redirect='choices/')),
(r'^(?P<poll_id>\w+)/delete/$', 'nuages.sondage.views.delete'),
(r'^(?P<poll_id>\w+)/edit/choices/$', 'nuages.sondage.views.editchoices'),
(r'^(?P<poll_id>\w{4})/vote/$', 'nuages.sondage.views.vote'),
(r'^(?P<poll_id>\w{4})/$', 'sondage.views.vote'),
(r'^new/$', 'sondage.views.new'),
(r'^(?P<object_id>\w+)/edit/$', 'sondage.views.secure_update_object', dict(poll_dict, post_save_redirect='choices/')),
(r'^(?P<poll_id>\w+)/delete/$', 'sondage.views.delete'),
(r'^(?P<poll_id>\w+)/edit/choices/$', 'sondage.views.editchoices'),
(r'^(?P<poll_id>\w{4})/vote/$', 'sondage.views.vote'),
(r'^user/login/$', login),
(r'^user/logout/$', logout, {'template_name': 'index.html'}),
(r'^user/register', 'nuages.sondage.userviews.register'),
(r'^user/register', 'sondage.userviews.register'),
(r'^user/success$', 'django.views.generic.simple.direct_to_template', {'template': 'registration/success.html'}),
(r'^i18n/', include('django.conf.urls.i18n')),
(r'^(?P<poll_id>\w{4})/clear/', 'nuages.sondage.userviews.clear_cookie'),
(r'^(?P<poll_id>\w{4})/clear/', 'sondage.userviews.clear_cookie'),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment