2017-08-13 21:06:11 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
2017-08-11 18:32:02 +00:00
|
|
|
|
2017-08-13 13:44:48 +00:00
|
|
|
from django.conf.urls import url, include
|
2017-08-11 18:32:02 +00:00
|
|
|
from django.contrib import admin
|
2017-08-16 16:46:26 +00:00
|
|
|
from django.contrib.auth import views
|
2017-08-11 18:32:02 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^admin/', admin.site.urls),
|
2017-08-16 16:46:26 +00:00
|
|
|
|
|
|
|
url(r'^login/$', views.LoginView.as_view(), name='login'),
|
|
|
|
url(r'^logout/$', views.LogoutView.as_view(), name='logout'),
|
|
|
|
url('^password_reset/$', views.PasswordResetView.as_view(),
|
|
|
|
name='password_reset',),
|
|
|
|
|
2017-08-17 16:17:51 +00:00
|
|
|
url(r'', include('api.urls', namespace='api')),
|
2017-08-15 19:14:03 +00:00
|
|
|
url(r'', include('core.urls')),
|
2017-08-18 13:02:31 +00:00
|
|
|
url(r'', include('dashboard.urls')),
|
2017-08-11 18:32:02 +00:00
|
|
|
]
|