source: treasury/urls.py @ dbc9bf9

client
Last change on this file since dbc9bf9 was dbc9bf9, checked in by Alex Dehnert <adehnert@…>, 16 years ago

Allow non-staff to log in

  • Property mode set to 100644
File size: 773 bytes
Line 
1from django.conf.urls.defaults import *
2from django.contrib.auth.views import login
3
4# Necessary views
5import finance_core.views
6
7# Uncomment the next two lines to enable the admin:
8from django.contrib import admin
9admin.autodiscover()
10
11urlpatterns = patterns('',
12    # Example:
13    (r'^accounts/display_tree', finance_core.views.display_tree),
14    (r'^vouchers/', include('vouchers.urls')),
15    (r'^finance_core/', include('finance_core.urls')),
16
17    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
18    # to INSTALLED_APPS to enable admin documentation:
19    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
20
21    # Uncomment the next line to enable the admin:
22    (r'^admin/(.*)', admin.site.root),
23    (r'^accounts/login/', login, ),
24)
Note: See TracBrowser for help on using the repository browser.