changed django settings and synced mysqldb