Skip to content
Newer
Older
100644 25 lines (17 sloc) 647 Bytes
1bfd1ba Restructured.
Johan authored Oct 9, 2011
1 from django.conf.urls.defaults import patterns, include, url
d566211 Added profile model with image.
Johan authored Oct 9, 2011
2 import settings
1bfd1ba Restructured.
Johan authored Oct 9, 2011
3
4 from django.contrib import admin
5 admin.autodiscover()
6
7 urlpatterns = patterns('',
a658c9d Fixed support for users with no logs.
Johan authored Oct 9, 2011
8
9 url(r'^$', 'views.dashboard', name='dashboard'),
10
1bfd1ba Restructured.
Johan authored Oct 9, 2011
11 url(r'^api/', include('log.urls')),
12
13 # Uncomment the admin/doc line below to enable admin documentation:
14 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
15
16 url(r'^admin/', include(admin.site.urls)),
17 )
d566211 Added profile model with image.
Johan authored Oct 9, 2011
18
19
20 if settings.DEBUG:
21 urlpatterns += patterns('django.views.static',
22 (r'^media/(?P<path>.*)$',
23 'serve', {
24 'document_root': settings.MEDIA_ROOT,
25 'show_indexes': True }),)
Something went wrong with that request. Please try again.