You don't need view for you flatpages. View is provided by the fratpages application.
On Sep 21, 6:30 am, AniNair <[EMAIL PROTECTED]> wrote: > Hi... > Can someone help me with flat pages? I tried exactly what they say > in the pagehttp://www.djangoproject.com/documentation/flatpages/ > I get the html template to render but the contents are missing. Plz > advice. Thank you > my template code is > <html> > <head> > <title>{{ flatpage.title }}</title> > </head> > <body>Privacy > {{ flatpage.content }} > </body> > </html> > > my view is > > from django.shortcuts import render_to_response > def det_privacy(request): > return render_to_response('privacy.html',) > > Plz help. Thank you --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---