Changeset 302 for django_apps
- Timestamp:
- Apr 10, 2011, 8:17:06 PM (14 years ago)
- Location:
- django_apps
- Files:
-
- 10 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
django_apps/settings.py
r292 r302 121 121 'django.contrib.admindocs', 122 122 'django_apps.running', 123 'django_apps.foobar', 124 'django_extensions', 123 125 ) 124 126 -
django_apps/urls.py
r294 r302 6 6 admin.autodiscover() 7 7 8 from django.contrib import databrowse 9 from running.models import User, Result 10 databrowse.site.register(User) 11 databrowse.site.register(Result) 12 8 13 urlpatterns = patterns('', 9 14 # Examples: 10 15 # url(r'^$', 'foobar.views.home', name='home'), 11 # url(r'^foobar/', include('foobar.foo.urls')),16 url(r'^foobar/', include('django_apps.foobar.urls')), 12 17 url(r'^running/', include('django_apps.running.urls')), 13 18 … … 17 22 # Uncomment the next line to enable the admin: 18 23 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'), 19 26 ) 20 27
Note:
See TracChangeset
for help on using the changeset viewer.