def make_secret_key(project_directory):
 local_setting = os.path.join(project_directory, 'config/settings/local.py')
 set_secret_key(local_setting)
 env_file = os.path.join(project_directory, 'env.example')
 set_secret_key(env_file)

def make_secret_key ( project_directory ) : local_setting = os . path . join ( project_directory , 'config/settings/local.py' ) set_secret_key ( local_setting ) env_file = os . path . join ( project_directory , 'env.example' ) set_secret_key ( env_file )
generates and saves random secret key .