better config handling
parent
6e74a6bda9
commit
796083b600
|
@ -0,0 +1,14 @@
|
|||
DB = './at.db'
|
||||
CAP_FILE = './dhcp-cap'
|
||||
LEASE_FILE = './dhcpd.leases'
|
||||
LEASE_OFFSET = -60 * 60
|
||||
TIMEOUT = 1500
|
||||
|
||||
WIKI_URL = 'http://hackerspace.pl/wiki/doku.php?id=people:%(login)s:start'
|
||||
|
||||
CLAIMABLE_PREFIX = '10.8.0.' #'192.168.1.'
|
||||
CLAIMABLE_EXCLUDE = [
|
||||
# '127.0.0.1',
|
||||
]
|
||||
|
||||
SECRET_KEY = 'adaba'
|
18
config.py
18
config.py
|
@ -1,18 +0,0 @@
|
|||
debug = True
|
||||
|
||||
port = 8080
|
||||
|
||||
db = './at.db'
|
||||
cap_file = './dhcp-cap'
|
||||
lease_file = './leases'
|
||||
lease_offset = 60 * 20
|
||||
timeout = 3000
|
||||
|
||||
wiki_url = 'http://hackerspace.pl/wiki/doku.php?id=people:%(login)s:start'
|
||||
|
||||
claimable_prefix = '' #'192.168.1.'
|
||||
claimable_exclude = [
|
||||
# '127.0.0.1',
|
||||
]
|
||||
|
||||
secret_key = 'adaba'
|
Loading…
Reference in New Issue