store firmwares and add firmware api stub
This commit is contained in:
parent
a48a3914d3
commit
9e9e41fb3f
5 changed files with 257 additions and 7 deletions
|
@ -43,6 +43,8 @@ TILES_ROOT = os.path.join(DATA_DIR, 'tiles')
|
|||
CACHE_ROOT = os.path.join(DATA_DIR, 'cache')
|
||||
STATS_ROOT = os.path.join(DATA_DIR, 'stats')
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
if not os.path.exists(DATA_DIR):
|
||||
os.mkdir(DATA_DIR)
|
||||
if not os.path.exists(LOG_DIR):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue