mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-09-21 19:39:08 +03:00
21 lines
698 B
Python
21 lines
698 B
Python
from django.conf.urls import patterns, include, url
|
|
from django.views.generic import TemplateView
|
|
|
|
# Uncomment the next two lines to enable the admin:
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', TemplateView.as_view(template_name='base.html')),
|
|
|
|
# Examples:
|
|
# url(r'^$', '{{ project_name }}.views.home', name='home'),
|
|
# url(r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),
|
|
|
|
# Uncomment the admin/doc line below to enable admin documentation:
|
|
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
|
|
# Uncomment the next line to enable the admin:
|
|
url(r'^admin/', include(admin.site.urls)),
|
|
)
|