Go – How to set a Flatpage as the Homepage in Django

djangodjango-flatpages

How can I set a Flatpage as the Homepage?

My urls.py is

    (r'', include('django.contrib.flatpages.urls')),

In the admin section I set the URL of the Flatpage to "/".

I get this error

Firefox has detected that the server
is redirecting the request for this
address in a way that will never
complete.

I'm guessing setting the URL to "/" is wrong, but can't find an example of the proper way to do it.

Best Answer

I removed the entry from the urls.py and this seems to have fixed it.