Configuration: Moved "default_app" setting from conf/conf.py to conf/apps.py. Reason: This is not user-configurable, much more relevant to apps. Updated setup.py so as to not write this variable to conf.py. setup.py: Also made a bit more robust, can handle an existing conf.py with missing variables.