diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2019-09-06 13:43:35 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2019-09-06 13:56:47 +0000 |
commit | 6b7297545b71fda63aff0a74e680660e8c22222b (patch) | |
tree | 44fe479e65b52d7404a402fd7f9c2f1ad3a88e6f /config.py.sample | |
parent | 55acfbfb3bb76454a462fc3ae72de251871e8c41 (diff) | |
download | peeringdb-simplesync-6b7297545b71fda63aff0a74e680660e8c22222b.tar.gz peeringdb-simplesync-6b7297545b71fda63aff0a74e680660e8c22222b.tar.xz peeringdb-simplesync-6b7297545b71fda63aff0a74e680660e8c22222b.zip |
initial commit
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Diffstat (limited to 'config.py.sample')
-rw-r--r-- | config.py.sample | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.py.sample b/config.py.sample new file mode 100644 index 0000000..d85e4ef --- /dev/null +++ b/config.py.sample @@ -0,0 +1,8 @@ +from requests.auth import HTTPBasicAuth + +def get_config(): + return { + 'db_conn_str': 'dbname=pdbtest', + 'db_schema': 'peeringdb', + 'auth': HTTPBasicAuth('use_a_dedicated_peeringdb_account', 'and_a_long_random_password'), + } |