When I look at the urls.py file belonging to django_website I can't
figure out how the website handles the pattern for
www.djangoproject.com/

The only option seems to be the included flatpages.urls but this one
needs a pattern for an url.

Does anybody have a clue?

Here is the code:

urlpatterns = patterns('',
    (r'^weblog/', include('django_website.apps.blog.urls')),
    (r'^documentation/', include('django_website.apps.docs.urls')),
    (r'^comments/$', 'django.views.generic.list_detail.object_list',
comments_info_dict),
    (r'^comments/', include('django.contrib.comments.urls.comments')),
    (r'^community/$', 'django.views.generic.list_detail.object_list',
aggregator_info_dict),
    (r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
{'feed_dict': feeds}),
    (r'^password_reset/',
include('django.conf.urls.admin_password_reset')),
    (r'^r/', include('django.conf.urls.shortcut')),
    (r'^sitemap.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6),
{'sitemaps': sitemaps}),
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'', include('django.contrib.flatpages.urls')),
)


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