updated manage py and settings