django/tests/modeltests/model_forms
Aymeric Augustin d4a0b27838 [py3] Refactored __unicode__ to __str__.
* Renamed the __unicode__ methods
* Applied the python_2_unicode_compatible decorator
* Removed the StrAndUnicode mix-in that is superseded by
  python_2_unicode_compatible
* Kept the __unicode__ methods in classes that specifically
  test it under Python 2
2012-08-12 14:44:40 +02:00
..
__init__.py newforms: Added initial implementation of form_for_model and form_for_fields 2006-12-15 05:46:11 +00:00
models.py [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
test.png Fixed #6302 for ImageFields. 2008-01-18 15:53:19 +00:00
test2.png Fixed #10196: Restored setting of image file width and height fields lost in r9766, and added tests for this function. Thanks to vicvicvic for the ticket and patch and for Alex for reminding me not to break non-PIL-boxes with the new tests. 2009-02-16 18:34:28 +00:00
tests.py Fixed #5524 -- Do not remove cleaned_data when a form fails validation 2012-08-04 14:22:23 +02:00