I would like to create a single page in the django admin site where I can change some global website variables (website name, items in the navigation menu, etc.). At the moment, I encoded them as context processors, but I would like to make them editable. Something similar to what is happening in WordPress.
Is it possible?
- I can store data in a database, but can I have a link on the administrator’s site that goes directly to the first record of the document and does not allow creating several records (they do not make sense).
- Instead of creating a model in the database, one could change some context_processor from the admin site (I think it would be better)
source
share