onadata.settings package

Submodules

onadata.settings.common module

Base Django settings module.

onadata.settings.common.configure_logging(logger, **kwargs)

Add AdminEmailHandler to the logger

onadata.settings.common.skip_suspicious_operations(record)

Prevent django from sending 500 error email notifications for SuspiciousOperation events, since they are not true server errors, especially when related to the ALLOWED_HOSTS configuration

background and more information: http://www.tiwoc.de/blog/2013/03/django-prevent-email-notification-on-susp iciousoperation/

onadata.settings.debug_toolbar_settings module

Django debug toolbar example settings module.

onadata.settings.default_settings module

Default settings module.

onadata.settings.drone_test module

Example local_settings.py for use with DroneCI.

onadata.settings.local_settings module

onadata.settings.production_example module

onadata.settings.staging_example module

Example staging module.

onadata.settings.travis_test module

Django settings module or use on GitHub actions.

Module contents