mirror of
https://github.com/kennethreitz-archive/django-todo.git
synced 2026-06-20 23:30:59 +00:00
11 lines
301 B
Python
11 lines
301 B
Python
from django.conf import settings
|
|
from django.conf.urls.defaults import *
|
|
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'', include('todo.urls')),
|
|
url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.MEDIA_ROOT}),
|
|
)
|