The app I am creating has many static pages, just like the pages of a website which do not change for some time. Im my model I will have a title field and a text field. I am looking go a way to avoid multiple views and multiple urls for each page. I tried using flatpages, but I was not able to get to work the context processors. For example, if a certain page has many grids. So how to write a single view and a url which will deliver all the pages, along with the context processors.
Share
If you are having problems with flatpages, it’s not hard to write your own version!
models.py
urls.py
views.py
template (has access to request context etc.)
Use TinyMCE on the body field in django-admin (if you are using it) or your own form if you want rich text.