Hi everyone,

I'm new to Django and tried to set up a little project using
flatpages. Here's my url conf:

from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

from django.contrib.flatpages.views import flatpage

urlpatterns = patterns('',
        (r'^/$', flatpage, { 'url' : 'home/' } ),
    (r'^admin/', include(admin.site.urls)),
    (r'', include('django.contrib.flatpages.urls')),
)

But I can't access the root url (127.0.0.1:8000). The browser aborts
because of to many redirects. When looking at the console output of "./
manage.py runserver" there are about 20 of this messages:

[06/Feb/2010 16:47:38] "GET / HTTP/1.1" 302 0

What am I doing wrong?

Thanks in advance! :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to