[server] better settings file
[server] logs.py fixes
[server] defs file with PROJECT_DIR defined
[server] Management command for generating secret key