[Answer]-Key Value Storage for django ? editable in django admin

1👍

You can create an app and use a Model to handle all the possible parameters that you need to use. Then register your admin for this app, and you will be able to change an use this values.

I always have a utils app, that I can put some code that can be shared within the project and along all the projects that I work, so I can give you a suggestion to put this in your utils app:

#models.py
from django.db import models

class Parameters(models.Model):

    default_product_price = models.IntegerField(default=10) # you can change this in admin
    ...

Then, register your classes in admin.py

Leave a comment