diff options
author | adityacp | 2017-05-03 16:10:28 +0530 |
---|---|---|
committer | adityacp | 2017-05-03 16:10:28 +0530 |
commit | a76be3052276945d688ab8746679f25cd40cad3f (patch) | |
tree | 44c4309d1065e953d7f8f13f3b6ed3904d51dc8a /yaksh/urls.py | |
parent | 5cebef64ed9f3c164db964828a62c7e0a3bde290 (diff) | |
download | online_test-a76be3052276945d688ab8746679f25cd40cad3f.tar.gz online_test-a76be3052276945d688ab8746679f25cd40cad3f.tar.bz2 online_test-a76be3052276945d688ab8746679f25cd40cad3f.zip |
Change forms.py, views.py and urls.py
- Store activation key expiry time according to timezone for email verification and activation
- Add reverse resolution in urls.py
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index b02b797..e4676d3 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -5,9 +5,9 @@ urlpatterns = [ url(r'^$', views.index), url(r'^login/$', views.user_login, name='login'), url(r'^logout/$', views.user_logout), - url(r'^update_email/$', views.update_email), - url(r'^activate/(?P<key>.+)$', views.activate_user), - url(r'^new_activation/$', views.new_activation), + url(r'^update_email/$', views.update_email, name="update_email"), + url(r'^activate/(?P<key>.+)$', views.activate_user, name="activate"), + url(r'^new_activation/$', views.new_activation, name='new_activation'), url(r'^quizzes/$', views.quizlist_user, name='quizlist_user'), url(r'^quizzes/(?P<enrolled>\w+)/$', views.quizlist_user, name='quizlist_user'), url(r'^results/$', views.results_user), |