Answer the question
In order to leave comments, you need to log in
What is Django flatpages for?
Hello.
I would like to ask you, what is Django flatpages used for? As I understand it, this thing allows you to somehow more conveniently give static pages, but I don’t understand why not just use:
A static html template and a view like:
def page(request):
return render(request, 'faceset/pagehtml')
Answer the question
In order to leave comments, you need to log in
This is a primitive CMS, so that the site user can change the text on the page through the admin panel, and would not resort to the help of a programmer to change templates.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question