Maik Hoepfel
52dadb163e
Fix UppercaseCharField
The to_python logic of the field was not actually executed as the fields
meta class wasn't set. That's also the reason why AbstractAddress
explicitly called upper() again, which is redundant now that it works.
hace 12 años
David Winterbottom
913d558e2a
Remove UppercaseCharField
This is better handled using the model's clean method.
hace 12 años
David Winterbottom
c736a29bf9
Add South introspection rule for UppercaseCharField
hace 12 años
Maik Hoepfel
6592053e85
Add introspection rule for UppercaseCharField
This is necessary for South migrations. As it doesn't define any new
parameters, an empty ruleset is all that is needed.
hace 12 años
David Winterbottom
2b94a8fc1e
Rework how addresses are cleaned
Plus reorganise tests
hace 12 años
David Winterbottom
6c549bcfa1
Ensure promotions work correct with modified URL field
hace 13 años
Maik Hoepfel
dd1d1713be
Fix for Django's dropped verify_exists functionality
Please note that ExtendedURLFields's verify_exist does not
default to True anymore.
hace 13 años
David Winterbottom
5316b75314
Correct flake8 errors and warnings
hace 13 años
David Winterbottom
f2b4879cec
Added south field rules to help with migrations
hace 14 años
Tomasz Rybarczyk
9d59f6e322
Condition/Benefit should be positive value
hace 14 años
Patryk Zawadzki
aed0822222
Split ExtendedURLField
There is now a model field, a form field and a validator.
hace 14 años