Added a hook to generate a file with the Django SECRET_KEY.