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. I did notice a template
called base_community.html which I assume is the file used to create
the community page but I can't see it being called anywhere?

Anyone know how this page is being generated with the data?

Source code found here:

http://code.djangoproject.com/browser/djangoproject.com/django_website/
http://code.djangoproject.com/browser/djangoproject.com/django_website/urls.py
http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/base_community.html

--~--~---------~--~----~------------~-------~--~----~
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