Django flexible settings with running environment support, separate security files and project layout detection.