Deploying in ProductionΒΆ
Deploying django-browserid in a production environment requires a few extra changes from the setup described in the Quickstart:
- The
BROWSERID_AUDIENCES
setting is required whenDEBUG
is set to False. Ensure that all the domains that users will access your site from are listed in this setting. - Optional: It is a good idea to minify the static JS and CSS files you’re using. django-compressor and jingo-minify are examples of libraries you can use for minification.