added syncdb --all. inserting local_settings before any migrates.