Django settings and log settings to syncdb