mjbrams / django-colors

Automatically exported from code.google.com/p/django-colors
MIT License
0 stars 0 forks source link

south problem #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add colorfield
2. using south
3. custom feild in south must be a=handled

What is the expected output? What do you see instead?
expected output done
I got 
 ! Cannot freeze field 'geoRssReader.userprofile.color'
 ! (this field has class colors.fields.ColorField)
What version of the product are you using? On what operating system?

Please provide any additional information below.
I added this to the field but it didn't work so I hope you fix it 
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^southtut\.fields\.ColorField"])
http://south.aeracode.org/docs/customfields.html#extending-introspection

Original issue reported on code.google.com by shark4...@gmail.com on 21 Jan 2012 at 10:08

GoogleCodeExporter commented 9 years ago
This works for me:

from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^colors\.fields\.ColorField"])

Original comment by moreno.p...@gmail.com on 23 Mar 2012 at 12:34