Okay, here's where I've got so far. My problem with this is that, as
will be immediately apparent, There's an awful lot being repeated
here:
from django.conf.urls.defaults import *
from newssite.models import Entry, Category
def story_archive(request, cat):
# Look up the category (and raise
I'm trying to use date-based generic views for each category on my
site so, for example, the news category will have date-based archive
at news/2010/jan/02/slug and features would have features/2010/
… and so on.
I also want site admins to be able to rename categories at will, so I
don't want the
2 matches
Mail list logo