Appendix: Extra SettingsΒΆ

This section lists settings that may be added to local_settings.py. Most of these options serve uncommon needs.

In addition to settings described here, any of Django’s built-in settings may be listed in local_settings.py.

ALLOWED_HOSTS

Lists allowed hostnames that the server will respond to. See the Django documentation for ALLOWED_HOSTS for more information.

Default is ['*'] (any hostname accepted).

ALLOWED_HOSTS = ['kegbot.example.com']
KEGBOT_BASE_URL

Ordinarily, Kegbot will infer your site’s hostname and base URL from incoming requests. This hostname is used to compose full URLs, for example when generating the links in outgoing e-mails and plugin posts.

In some situations you may want to set this value explicitly, for example if your server is available on multiple hostnames.

Default is unset (automatic mode).

KEGBOT_BASE_URL = 'http://mykegbot.example:8001/'
KEGBOT_ENABLE_ADMIN

When set to true, the Django Admin Site will be enabled, allowing you to browse and edit raw Kegbot data through a web interface.

Warning: Editing raw Kegbot data through the admin interface may leave your system in a corrupt or inconsistent state.

Default is False.

KEGBOT_ENABLE_ADMIN = True
LOGGING['handlers']['redis']['url']

When specified, this setting gives the URL of a redis instance to use for temporary log data. The URL is parsed by redis.from_url.

Default is redis://localhost:6379.


Next: Changelog
Previous: Troubleshooting Kegbot Server

© Bevbot LLC 2014. All Rights Reserved. — Kegbot and Kegboard are trademarks of Bevbot LLC. — Terms of Service. Privacy Policy.