From bb1f7457f90f51a531bca2dfc3527432898b0b09 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 27 Feb 2020 17:12:00 +0530 Subject: updated ui and fixed code --- arduino_blog/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arduino_blog/urls.py') 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.+)$', 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) -- cgit