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.
vor 12 Jahren
David Winterbottom
913d558e2a
Remove UppercaseCharField
This is better handled using the model's clean method.
vor 12 Jahren
David Winterbottom
c736a29bf9
Add South introspection rule for UppercaseCharField
vor 12 Jahren
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.
vor 12 Jahren
David Winterbottom
2b94a8fc1e
Rework how addresses are cleaned
Plus reorganise tests
vor 12 Jahren
David Winterbottom
6c549bcfa1
Ensure promotions work correct with modified URL field
vor 13 Jahren
Maik Hoepfel
dd1d1713be
Fix for Django's dropped verify_exists functionality
Please note that ExtendedURLFields's verify_exist does not
default to True anymore.
vor 13 Jahren
David Winterbottom
5316b75314
Correct flake8 errors and warnings
vor 13 Jahren
David Winterbottom
f2b4879cec
Added south field rules to help with migrations
vor 14 Jahren
Tomasz Rybarczyk
9d59f6e322
Condition/Benefit should be positive value
vor 14 Jahren
Patryk Zawadzki
aed0822222
Split ExtendedURLField
There is now a model field, a form field and a validator.
vor 14 Jahren