source: django_apps/urls.py@ 385

Last change on this file since 385 was 302, checked in by Rick van der Zwet, 14 years ago

Some awefull hack to get a 2x2 single value table displayed for easy editing...

File size: 1004 bytes
Line 
1from django.conf.urls.defaults import patterns, include, url
2from django.contrib.staticfiles.urls import staticfiles_urlpatterns
3
4# Uncomment the next two lines to enable the admin:
5from django.contrib import admin
6admin.autodiscover()
7
8from django.contrib import databrowse
9from running.models import User, Result
10databrowse.site.register(User)
11databrowse.site.register(Result)
12
13urlpatterns = patterns('',
14 # Examples:
15 # url(r'^$', 'foobar.views.home', name='home'),
16 url(r'^foobar/', include('django_apps.foobar.urls')),
17 url(r'^running/', include('django_apps.running.urls')),
18
19 # Uncomment the admin/doc line below to enable admin documentation:
20 url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
21
22 # Uncomment the next line to enable the admin:
23 url(r'^admin/', include(admin.site.urls)),
24 (r'^accounts/login/$', 'django.contrib.auth.views.login'),
25 (r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
26)
27
28urlpatterns += staticfiles_urlpatterns()
Note: See TracBrowser for help on using the repository browser.