Skip to main content

Django user preferences

Project description

Django-Userpref

django-userpref provides a abstract and reuseable framework for userspecific settings

This includes:

  • Abstract UserPref Class

  • Admin interface

  • Templates for an userspecific settings page

Basic usage

Just define a abstract model that can be used in the applications. In you app you should define something like:

from userpref.models import Userpref

class MyappSettings(Userpref):

special_setting = models.BooleanField(default=False, verbose_name=’Make me a superhero’) another_field = models.CharField(max_length=100, default=”<unset>”)

class Meta:

verbose_name = “My Custom Setting for app Myapp”

Project details


Supported by

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