Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3545bf7771
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 1.02 kb
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
from django.core.urlresolvers import reverse
admin.autodiscover()
urlpatterns = patterns('',
(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/media/base/favicon.gif'}),
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(admin.site.urls)),
(r'^backbone/', include('backbone.urls')),
(r'^api/backbone/', include('backbone.api_urls')),
(r'^api/notes/', include('peach.api_urls')),
(r'^accounts/profile/$', 'django.views.generic.simple.redirect_to', {'url': '/'}),
(r'^accounts/login/$', 'django.views.generic.simple.redirect_to', {'url': '/p/login/'}),
(r'^p/', include('person.urls')),
(r'^notes/', include('peach.urls')),
(r'^staff/', include('apple.urls')),
(r'^', include('banana.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)
Jump to Line
Something went wrong with that request. Please try again.