comparison gpp/urls.py @ 139:e04d91babfcf

Close #30. Create an admin dashboard to see pending content and requests for admin action.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Nov 2009 22:33:15 +0000
parents 2d299909e074
children 861f7d5f1b23
comparison
equal deleted inserted replaced
138:7ea842744a57 139:e04d91babfcf
1 from django.conf.urls.defaults import * 1 from django.conf.urls.defaults import *
2 from django.conf import settings 2 from django.conf import settings
3 from django.contrib import admin 3 from django.contrib import admin
4 from news.feeds import LatestNewsFeed 4 from news.feeds import LatestNewsFeed
5 5
6 # Use the default admin site, but tell it to use a custom
7 # index template:
8 admin.site.index_template = 'admin/custom_index.html'
6 admin.autodiscover() 9 admin.autodiscover()
7 10
8 feeds = { 11 feeds = {
9 'news': LatestNewsFeed, 12 'news': LatestNewsFeed,
10 } 13 }