You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from django.conf.urls import url
|
|
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
|
|
|
|
from . import views as dncore_views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^$', dncore_views.dashboard, name='dashboard'),
|
|
|
|
|
|
|
|
url(r'^login/$', auth_views.login, name='login'),
|
|
|
|
url(r'^register/$', dncore_views.RegisterUser.as_view(), name='register'),
|
|
|
|
url(r'^logout/$', auth_views.logout, {'next_page': '/'}, name='logout'),
|
|
|
|
url(r'^profile/$', dncore_views.profile, name='profile'),
|
|
|
|
]
|