PonyConf/accounts/urls.py

11 lines
317 B
Python
Raw Normal View History

from django.conf.urls import include, url
2016-06-12 16:47:26 +00:00
from django.contrib.auth import views as auth_views
2016-06-07 20:59:13 +00:00
from .views import profile
2016-06-07 20:59:13 +00:00
urlpatterns = [
url(r'^profile$', profile, name='profile'),
2016-06-12 16:47:26 +00:00
url(r'^logout/$', auth_views.logout, {'next_page': '/'}, name='logout'),
url(r'', include('django.contrib.auth.urls')),
2016-06-07 20:59:13 +00:00
]