mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
10 lines
345 B
Python
10 lines
345 B
Python
from django.conf.urls import patterns, include
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^', include('django.contrib.comments.urls')),
|
|
|
|
# Provide the auth system login and logout views
|
|
(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
|
|
(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
|
|
)
|