mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-04-22 07:54:44 +00:00
19 lines
518 B
Python
19 lines
518 B
Python
from django.conf import settings
|
|
from django.conf.urls import patterns, include, url
|
|
from django.contrib import admin
|
|
|
|
urlpatterns = patterns('',
|
|
# Examples:
|
|
# url(r'^$', 'dddp.test.test_project.views.home', name='home'),
|
|
# url(r'^blog/', include('blog.urls')),
|
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
|
url(
|
|
r'^static/(?P<path>.*)$',
|
|
'django.views.static.serve',
|
|
{
|
|
'document_root': settings.STATIC_ROOT,
|
|
'show_indexes': False,
|
|
},
|
|
),
|
|
)
|