diff options
Diffstat (limited to 'arduino_blog/urls.py')
-rw-r--r-- | arduino_blog/urls.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arduino_blog/urls.py b/arduino_blog/urls.py index 0b06838..9a4a81f 100644 --- a/arduino_blog/urls.py +++ b/arduino_blog/urls.py @@ -8,15 +8,15 @@ from . import views app_name = 'arduino_blog' urlpatterns = [ re_path(r'^comment-abstract/(?P<proposal_id>\d+)$', - views.comment_abstract, name='comment_abstract'), - re_path(r'^abstract-details/(?P<proposal_id>\d+)$', - views.abstract_details, name='abstract_details'), - url(r'^view-abstracts/$', views.view_abstracts, name="view_abstracts"), - url(r'^accounts/logout/$', views.user_logout, name="user_logout"), - url(r'^activate/(?P<key>.+)$', views.activate_user, name="activate"), + views.comment_abstract, name='comment_abstract'), + re_path(r'^abstract-details/(?P<proposal_id>\d+)$', + views.abstract_details, name='abstract_details'), + url(r'^view-abstracts/$', views.view_abstracts, name="view_abstracts"), + 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'^submit-abstract/$', views.submitabstract, name='submitabstract'), 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'), + url(r'^$', views.index, name='index'), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |