Skip to content

South migration error : Cannot freeze field 'account.account.timezone' #61

Closed
syst3mw0rm opened this Issue Feb 3, 2013 · 2 comments

3 participants

@syst3mw0rm

While trying to use South for database migration, it gives following error,

! Cannot freeze field 'account.account.timezone'
! (this field has class account.fields.TimeZoneField)

! South cannot introspect some fields; this is probably because they are custom
! fields. If they worked in 0.6 or below, this is because we have removed the
! models parser (it often broke things).
! To fix this, read http://south.aeracode.org/wiki/MyFieldsDontWork

@dulaccc
dulaccc commented Nov 9, 2013

You need to put at the end of your models.py file

...

from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^account\.fields\.TimeZoneField"])

And South will be able to freeze anything !

Cheers

@brosner
Pinax Project member
brosner commented Nov 22, 2013

This was added in b129ec6

@brosner brosner closed this Nov 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.