tutorial-extensions icon indicating copy to clipboard operation
tutorial-extensions copied to clipboard

"Secure your website" extension, covering eg keeping SECRET_KEY secure, etc

Open hjwp opened this issue 7 years ago • 0 comments

This could be an addition to https://github.com/DjangoGirls/tutorial-extensions/tree/master/en/authentication_authorization or it could be its own extension.

Should capture some of the points raised in https://github.com/DjangoGirls/tutorial/issues/1192 and https://github.com/DjangoGirls/tutorial/issues/802

  • [ ] use an environment variable (or similar) for SECRET_KEY
  • [ ] switch DEBUG to False
  • [ ] set ALLOWED_HOSTS correctly

hjwp avatar Feb 12 '18 13:02 hjwp