diff options
author | prashantsinalkar | 2020-02-27 17:12:00 +0530 |
---|---|---|
committer | prashantsinalkar | 2020-02-27 17:12:00 +0530 |
commit | bb1f7457f90f51a531bca2dfc3527432898b0b09 (patch) | |
tree | 2aafd4e11c5b81c26031c2c85b6a65a691b397cc /arduino_blog/urls.py | |
parent | 3fb61ed2b017bfcc2fe663e15d21ff924ee750a6 (diff) | |
download | arduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.tar.gz arduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.tar.bz2 arduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.zip |
updated ui and fixed code
Diffstat (limited to 'arduino_blog/urls.py')
-rw-r--r-- | arduino_blog/urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arduino_blog/urls.py b/arduino_blog/urls.py index dfd44a8..0ef6a92 100644 --- a/arduino_blog/urls.py +++ b/arduino_blog/urls.py @@ -7,11 +7,11 @@ from . import views app_name = 'arduino_blog' urlpatterns = [ - url(r'^logout/$', views.user_logout, name="user_logout"), + url(r'^accounts/logout/$', views.user_logout, name="user_logout"), url(r'^activate/(?P<key>.+)$', views.activate_user, name="activate"), url(r'^new_activation/$', views.new_activation, name='new_activation'), url(r'^submit-abstract/$', views.submitabstract, name='submitabstract'), - url(r'^register/$', views.user_register, name='user_register'), - url(r'^login/$', views.user_login, name='user_login'), + url(r'^accounts/register/$', views.user_register, name='user_register'), + url(r'^accounts/login/$', views.user_login, name='user_login'), url(r'^$', views.index, name='index'), -] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
\ No newline at end of file +] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |