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 url www.djangoproject.com/community know > 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-views-generic-list-detail-object-list </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 -~----------~----~----~----~------~----~------~--~---