All DEMO_* settings are optional.


A string with the %(num)s formatting variable which is used as a template for database names. Defaults to 'django_demo_%(num)s'.


Minimum livetime of a database for a user. Must be a datetime.timedelta. Defaults to datetime.timedelta(days=1).


A list of fixtures to load into every empty database to provide things such as users to log in and some initial data to play around with. Defaults to [].


If you add user accounts with admin rights, make sure they have no rights on apps in DEMO_IGNORE_APPS to prevent security issues.


Apps not to isolate. ‘demo’ and ‘django.contrib.session’ are never isolated, since they need to exist globally. Note that any app you add here poses a security issue, since their data is shared accross all visitors! Defaults to [].


As an additional security measure, django-demo does not register with the admin site if the DemoMiddleware is active.


Maximum amount of databases. Defaults to 0 (infinite).


A import path to your custom backend. See Demo Backends. Defaults to the builtin backend for your database engine, if available.


Allow or disallow sharing of databases using share links. Defaults to True


Using this setting in combination with a long DATABASE_LIVETIME maybe allow your demo site to be abused as a sharing website, especially if you allow file uploads. Generally this setting should only be enabled if you have a very low DATABASE_LIVETIME.


The GET parameter to use for share links. Will only have an effect if DEMO_ALLOW_SHARE is True. Defaults to 'sharedemo'.


The real storage backend to use behind the file storage. Defaults to ''


Use celery to kill expired databases. This can only be used if 'celery' is in INSTALLED_APPS.


If set to False databases will be flushed instead of dropped whenever a session times out. This can lead to significant performance improvements. Defaults to True for legacy reasons.