diff options
author | Sashi20 | 2020-02-20 12:58:59 +0530 |
---|---|---|
committer | Sashi20 | 2020-02-20 12:58:59 +0530 |
commit | 1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 (patch) | |
tree | 3a9829196102efdf509fe50b5458237966999ecf /arduino_blog/urls.py | |
parent | 802bbc270363d1432cb28cd88d6c9003d8b99b6c (diff) | |
download | arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.gz arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.bz2 arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.zip |
Add user registration, login and abstract submission interfaces
Diffstat (limited to 'arduino_blog/urls.py')
-rw-r--r-- | arduino_blog/urls.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arduino_blog/urls.py b/arduino_blog/urls.py new file mode 100644 index 0000000..dfd44a8 --- /dev/null +++ b/arduino_blog/urls.py @@ -0,0 +1,17 @@ +from django.urls import path, re_path +from django.conf.urls.static import static +from django.conf import settings +from django.conf.urls import url + +from . import views + +app_name = 'arduino_blog' +urlpatterns = [ + url(r'^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'^$', views.index, name='index'), +] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
\ No newline at end of file |