Mercurial > public > sg101
comparison gpp/urls.py @ 141:861f7d5f1b23
Rework r149 for #30. Got rid of the custom index. Put my dashboard in the nav-global block instead.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2009 07:55:48 +0000 |
parents | e04d91babfcf |
children | 6f14970b103a |
comparison
equal
deleted
inserted
replaced
140:91a01b8b5885 | 141:861f7d5f1b23 |
---|---|
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 | 6 |
7 # index template: | |
8 admin.site.index_template = 'admin/custom_index.html' | |
9 admin.autodiscover() | 7 admin.autodiscover() |
10 | 8 |
11 feeds = { | 9 feeds = { |
12 'news': LatestNewsFeed, | 10 'news': LatestNewsFeed, |
13 } | 11 } |