summaryrefslogtreecommitdiff
path: root/arduino_blog/urls.py
blob: 0ef6a9216a806fa41d64369ec7f8dfc08ba5ba84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'^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'^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)