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