mirumee / django-prices

Django fields for the prices module
158 stars 53 forks source link

South introspection rule for custom PriceField #1

Closed brew closed 11 years ago

brew commented 11 years ago

Users of South(http://south.aeracode.org/) will need to have the custom PriceField model field added to South's introspection rules[1].

[1] http://south.readthedocs.org/en/latest/customfields.html

brew commented 11 years ago

I fired this off too soon - I think the introspection rule have to be a bit more complicated due to the arguments on __init__.

brew commented 11 years ago

I've written the custom rule to get this working. It seems to require having default values for the keyword arguments as well. I couldn't figure out how to deal with them without that.