1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00

add user agent and version check to server (#6)

This commit is contained in:
Stefan Pratter
2019-01-11 11:24:00 +00:00
parent e0a354468a
commit b4eff356a1
6 changed files with 286 additions and 40 deletions

View File

@@ -74,6 +74,12 @@ settings.configure(
TABLE_PREFIX='peeringdb',
PEERINGDB_ABSTRACT_ONLY=True,
COUNTRIES_OVERRIDE={'XK': _('Kosovo')},
CLIENT_COMPAT={
"client":{"min": (0,6), "max":(0,6,5)},
"backends":{
"django_peeringdb":{"min":(0,6), "max":(0,6,5)}
}
},
DATABASE_ENGINE='django.db.backends.sqlite3',
DATABASES={
'default': {