fixed a bug with syncdb & south

see http://stackoverflow.com/a/8206621