Changeset 5bd0b4c


Ignore:
Timestamp:
May 13, 2010, 12:59:01 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
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)
Message:

Add basic templates and stuff

Location:
asadb
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/settings.py

    r80982de r5bd0b4c  
    7878    # Always use forward slashes, even on Windows.
    7979    # Don't forget to use absolute paths, not relative paths.
     80    'template',
    8081)
    8182
  • asadb/urls.py

    r8913d43 r5bd0b4c  
    11from django.conf.urls.defaults import *
     2from django.contrib.auth.views import login, logout
    23
    34# Uncomment the next two lines to enable the admin:
     
    1011    # Example:
    1112    # (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    ),
    1219
    1320    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
     
    1724    # Uncomment the next line to enable the admin:
    1825    (r'^admin/', include(admin.site.urls)),
     26    url(r'^accounts/login/',  login,  name='login', ),
     27    url(r'^accounts/logout/', logout, name='logout', ),
    1928)
    2029
Note: See TracChangeset for help on using the changeset viewer.