jakewins/django-money — Issue #4: South support
Author: domguard
Created: 2012-02-12 15:46:59+00:00
State: open

When I created the migration with south, the migration file reads :

db.add_column('coop_local_paymentmodality', 'price', self.gf('djmoney.models.fields.MoneyField')(default='0.0', max_digits=10, decimal_places=2, default_currency=EUR), keep_default=False)

which triggers this error

ValueError: Cannot successfully create field 'price' for model 'paymentmodality': name 'EUR' is not defined.