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
|
Rev | Line | |
---|
[719e4bb] | 1 | from django.conf.urls.defaults import * |
---|
[dbc9bf9] | 2 | from django.contrib.auth.views import login |
---|
[719e4bb] | 3 | |
---|
[f468e6d] | 4 | # Necessary views |
---|
[7c3ea05] | 5 | import finance_core.views |
---|
[f468e6d] | 6 | |
---|
[719e4bb] | 7 | # Uncomment the next two lines to enable the admin: |
---|
[13a23ce] | 8 | from django.contrib import admin |
---|
| 9 | admin.autodiscover() |
---|
[719e4bb] | 10 | |
---|
| 11 | urlpatterns = patterns('', |
---|
| 12 | # Example: |
---|
[7c3ea05] | 13 | (r'^accounts/display_tree', finance_core.views.display_tree), |
---|
| 14 | (r'^vouchers/', include('vouchers.urls')), |
---|
| 15 | (r'^finance_core/', include('finance_core.urls')), |
---|
[719e4bb] | 16 | |
---|
| 17 | # Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
---|
| 18 | # to INSTALLED_APPS to enable admin documentation: |
---|
[13a23ce] | 19 | (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
---|
[719e4bb] | 20 | |
---|
| 21 | # Uncomment the next line to enable the admin: |
---|
[13a23ce] | 22 | (r'^admin/(.*)', admin.site.root), |
---|
[dbc9bf9] | 23 | (r'^accounts/login/', login, ), |
---|
[719e4bb] | 24 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.