Alessandro Ronchi wrote:
> I need to put a flatpage on /
> and make www.example.com
> return the flatpage.
> 
> Is it possible? What url must I put in flatpage admin?

No flatpages in admin as far as I know.

At the frontend (your web site www.example.com) however:

1. Create a flatpage for with URL /
2. Add django.contrib.flatpages.middleware.FlatpageFallbackMiddleware
   to MIDDLEWARE_CLASSES in settings.py
3. Add django.contrib.flatpages to INSTALLED_APPS.

That should do it.

/L


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