Changeset 302 for django_apps


Ignore:
Timestamp:
Apr 10, 2011, 8:17:06 PM (14 years ago)
Author:
Rick van der Zwet
Message:

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

Location:
django_apps
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • django_apps/settings.py

    r292 r302  
    121121    'django.contrib.admindocs',
    122122    'django_apps.running',
     123    'django_apps.foobar',
     124    'django_extensions',
    123125)
    124126
  • django_apps/urls.py

    r294 r302  
    66admin.autodiscover()
    77
     8from django.contrib import databrowse
     9from running.models import User, Result
     10databrowse.site.register(User)
     11databrowse.site.register(Result)
     12
    813urlpatterns = patterns('',
    914    # Examples:
    1015    # url(r'^$', 'foobar.views.home', name='home'),
    11     # url(r'^foobar/', include('foobar.foo.urls')),
     16    url(r'^foobar/', include('django_apps.foobar.urls')),
    1217    url(r'^running/', include('django_apps.running.urls')),
    1318
     
    1722    # Uncomment the next line to enable the admin:
    1823    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'),
    1926)
    2027
Note: See TracChangeset for help on using the changeset viewer.