12 lines
375 B
Python
12 lines
375 B
Python
from django.conf.urls import include, url
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
from .views import profile
|
|
from django.conf import settings
|
|
|
|
urlpatterns = [
|
|
url(r'^profile$', profile, name='profile'),
|
|
url(r'^logout/$', auth_views.logout, {'next_page': settings.LOGOUT_REDIRECT_URL}, name='logout'),
|
|
url(r'', include('django.contrib.auth.urls')),
|
|
]
|