Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Admin interface editable Django app settings

Is there a good way provide user configurable app settings in Django admin?

Basically I would like to have a nice forms where site owner can easily edit such one off information as his contact information, front page text content, etc. Sort of like a normal admin interface of a model, but limited to only one undeletable item in the model.

like image 911
Bloodboiler Avatar asked Aug 20 '09 18:08

Bloodboiler


People also ask

Is Django's admin interface customizable if yes then how?

To implement it in your project, make a new app in your Django project named products. Install this application, type product in the INSTALLED_APPS list in settings.py file. We will now make models in the products app. The model will be used throughout the tutorial to customize the Django Admin.

How do I access my Django admin page?

To login to the site, open the /admin URL (e.g. http://127.0.0.1:8000/admin ) and enter your new superuser userid and password credentials (you'll be redirected to the login page, and then back to the /admin URL after you've entered your details).

What is Django admin interface?

One of the most powerful parts of Django is the automatic admin interface. It reads metadata from your models to provide a quick, model-centric interface where trusted users can manage content on your site. The admin's recommended use is limited to an organization's internal management tool.


2 Answers

I think django constance is the way to go. Alive and compatible with django 1.4.

like image 132
yvess Avatar answered Sep 21 '22 14:09

yvess


The third-party project django-dbsettings is ideal for this.

like image 36
Daniel Roseman Avatar answered Sep 21 '22 14:09

Daniel Roseman