Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (17 sloc) 0.647 kb
1bfd1ba Restructured.
Johan authored
1 from django.conf.urls.defaults import patterns, include, url
d566211 Added profile model with image.
Johan authored
2 import settings
1bfd1ba Restructured.
Johan authored
3
4 from django.contrib import admin
5 admin.autodiscover()
6
7 urlpatterns = patterns('',
a658c9d Fixed support for users with no logs.
Johan authored
8
9 url(r'^$', 'views.dashboard', name='dashboard'),
10
1bfd1ba Restructured.
Johan authored
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
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.