mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
15 lines
421 B
Python
Executable file
15 lines
421 B
Python
Executable file
from django.conf.urls import patterns, include, url
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
home = TemplateView.as_view(template_name='home.html')
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
# Standard download views.
|
|
url(r'^download/', include('demoproject.download.urls')),
|
|
# Nginx optimizations.
|
|
url(r'^nginx/', include('demoproject.nginx.urls')),
|
|
# An informative page.
|
|
url(r'', home, name='home')
|
|
)
|