Skip to main content

django-solo helps working with singletons: things like global settings that you want to edit from the admin site.

Project description

+---------------------------+
|                           |
|                           |
|             \             | Django Solo helps working with singletons:
|             /\            | database tables that only have one row.
|           >=)'>           | Singletons are useful for things like global
|             \/            | settings that you want to edit from the admin
|             /             | instead of having them in Django settings.py
|                           |
|                           |
+---------------------------+

Features

  • You define the singleton model that will hold you settings.
  • Django Solo provides a base class for your singleton model and admin classes.
  • You get an admin interface that’s aware that you only have one object.
  • You can retrieve the singleton object from templates.
  • By enabling caching, the database is not queried intensively.

Read more: http://github.com/lazybird/django-solo/

Project details


Download files

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

Files for django-solo, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size django-solo-1.0.4.tar.gz (103.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page