Adding check_constrains method again which contains a typo but was earlier used. It raises an error now to point you to the new method if you have used it in the past.
Comply to PEP8 in constraints.py
Use the bundled version of six that comes with Django to avoid the requirement in setup.py