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-13 13:44:48 +00:00
|
|
|
url(r'', include('api.urls')),
|
2017-08-15 19:14:03 +00:00
|
|
|
url(r'', include('core.urls')),
|
2017-08-11 18:32:02 +00:00
|
|
|
]
|