blob: 38c611ec095dcf7ae7ceed893b96c44ca4f7a522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from django.conf import settings
from django.conf.urls.defaults import include, patterns
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^program/', include('program.urls')),
(r'^tinymce/', include('tinymce.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('',
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})
)
|