try replacing: (r'', include('django.contrib.flatpages.urls')), with (r'^$', include('django.contrib.flatpages.urls')),
On Nov 23, 6:48 am, watusee <[EMAIL PROTECTED]> wrote: > Upgraded from 96 to 1.02. My home/root (at 127.0.0.1/) page (using > flatpages) now doesn't work using runserver. Other flatpages are > working fine. The entry in the urlconf looks like this: > > urlpatterns = patterns('', > # (r'^works/$', 'django.views.generic.list_detail.object_list', dict > (work_dict, template_name='works.html', > template_object_name='works')), > (r'^works/(?P<slug>[-\w]+)/$', > 'django.views.generic.list_detail.object_detail', dict(work_dict, > slug_field='slug', template_name='work.html', > template_object_name='work')), > (r'^admin/(.*)', admin.site.root), > (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': '/djangoprojects/site_media/'}), > (r'', include('django.contrib.flatpages.urls')), > > The page resolves, but in my browsers (Firefox and Safari) I get a > redirect loop error. I've looked through the backwards incompatible > list and searched the forums to no avail. Any thoughts welcomed. Thank > you! > > -raymond --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---