change env calls to just python

This commit is contained in:
Jens Langhammer 2017-01-21 18:36:55 +01:00
parent 3fd04dca1b
commit 2673faac9a
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python
# This script will generate a random 50-character string suitable for use as a SECRET_KEY.
import os
import random

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
import os
import sys

View File

@ -13,7 +13,10 @@ ALLOWED_HOSTS = []
# PostgreSQL database configuration.
DATABASE = {
'NAME': 'netbox', # Database name
'USER': 'postgres', # PostgreSQL username
'USER': '', # PostgreSQL username
'PASSWORD': '', # PostgreSQL password
'HOST': 'localhost', # Database server
'PORT': '', # Database port (leave blank for default)
}
# This key is used for secure generation of random numbers and strings. It must never be exposed outside of this file.