Skip to main content

A table for storing settings

Project description


Provides a table "dp_settings" to store settings in a general way. You can store strings and integers (most common settings) values by using the model.

String is provided through value_string (TextField). Integer is provided through value_int (IntegerField).


pip install dp-settings

Example Code

object_ = DpSettings.objects.create()
object_.app_name = 'dp_settings'
object_.key = 'active'
object_.value_int = 1

object_ = DpSettings.objects.create()
object_.app_name = 'dp_settings'
object_.key = 'email_from'
object_.value_string = ''

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dp-settings, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size dp_settings-0.0.5-py3-none-any.whl (6.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page