Changeset 5bd0b4c
- Timestamp:
- May 13, 2010, 12:59:01 AM (16 years ago)
- Branches:
- master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
- Children:
- aba463b
- Parents:
- 80982de
- git-author:
- Alex Dehnert <adehnert@…> (05/13/10 00:56:18)
- git-committer:
- Alex Dehnert <adehnert@…> (05/13/10 00:59:01)
- Location:
- asadb
- Files:
-
- 2 added
- 2 edited
-
settings.py (modified) (1 diff)
-
template/base.html (added)
-
template/index.html (added)
-
urls.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/settings.py
r80982de r5bd0b4c 78 78 # Always use forward slashes, even on Windows. 79 79 # Don't forget to use absolute paths, not relative paths. 80 'template', 80 81 ) 81 82 -
asadb/urls.py
r8913d43 r5bd0b4c 1 1 from django.conf.urls.defaults import * 2 from django.contrib.auth.views import login, logout 2 3 3 4 # Uncomment the next two lines to enable the admin: … … 10 11 # Example: 11 12 # (r'^asadb/', include('asadb.foo.urls')), 13 url( 14 r'^$', 15 'django.views.generic.simple.direct_to_template', 16 {'template': 'index.html', 'extra_context': { 'pagename':'homepage' }, }, 17 name='homepage', 18 ), 12 19 13 20 # Uncomment the admin/doc line below and add 'django.contrib.admindocs' … … 17 24 # Uncomment the next line to enable the admin: 18 25 (r'^admin/', include(admin.site.urls)), 26 url(r'^accounts/login/', login, name='login', ), 27 url(r'^accounts/logout/', logout, name='logout', ), 19 28 ) 20 29
Note: See TracChangeset
for help on using the changeset viewer.