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.

Source Distribution

django-solo-1.0.4.tar.gz (103.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page