diff options
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 |