Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c66349efe2
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (16 sloc) 0.559 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import settings
from django.conf.urls.defaults import *
from django.contrib import admin
import gitcms.simplecms.urls
import gitcms.blog.urls
import gitcms.files.urls
import signup.urls
admin.autodiscover()

urlpatterns = patterns('',
    (r'^media/(?P<path>.+)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    (r'^admin/', include(admin.site.urls)),
    (r'^blog/?', include(gitcms.blog.urls)),
)
urlpatterns += signup.urls.urlpatterns
urlpatterns += gitcms.files.urls.urlpatterns
urlpatterns += gitcms.simplecms.urls.urlpatterns
Something went wrong with that request. Please try again.