[magic-removal] Patch to fix unique_together validator
|Reported by:||Christopher Lenz <cmlenz@…>||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
... which still uses the magical get_model_module() stuff.
I'll attach a patch, however it should be noted that:
- The manipulators.py module contains other references to the “old API”, such as get_object(), which I haven't looked into.
- I've not added any unit tests, or even run the existing suite, since I couldn't yet figure out how they should be run (why do they need a DJANGO_SETTINGS_MODULE? Why can't runtests.py set that up for me? And why can't I just run setup.py test, seeing that Django is already using setuptools?)