Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (18 sloc) 0.578 kB
from django.conf.urls.defaults import *
from django.contrib import admin
import os
from django.conf import settings
admin.autodiscover()
handler500 = 'django_ext.views.custom_server_error'
sitemaps = {
}
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
)
from calloway.urls import urlpatterns as calloway_patterns
urlpatterns += calloway_patterns
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': os.path.join(os.path.dirname(__file__), 'media2')}),
)
Jump to Line
Something went wrong with that request. Please try again.