Hi Fredrik,

Thanks for the link - got it working now :) I've also stumbled upon
templatetags which are pretty nice. Is there anywhere that mentioned
when templatetags should be used against generic views? Or is it
basically up to the developer? I like to try and keep to best
practices so wondered if anyone had any thoughts...

Cheers,
Chris

On Jan 9, 7:17 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Darthmahon wrote:
> > I've been looking through the source code for djangoproject.com which
> > is really useful and has helped me a lot, but I have a question
> > regarding the code.
>
> > Does anyone know how the urlwww.djangoproject.com/communityknow
> > which template it needs to load?
>
> > I've been looking to see how they have structured their template files
> > and noticed the following in the urls.py file:
>
> > (r'^community/$', 'django.views.generic.list_detail.object_list',
> > aggregator_info_dict),
>
> > There is no mention of a template file in the above code and I could
> > not find it being called anywhere else either.
>
> the documentation for generic views might be helpful:
>
> http://www.djangoproject.com/documentation/generic_views/#django-view...
>
> </F>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to