summaryrefslogtreecommitdiff
path: root/tests/modeltests/basic/models.py
AgeCommit message (Expand)Author
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
2011-10-13Convert all modeltests to use absolute imports, rather than relative ones.Alex Gaynor
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for t...Jannis Leidel
2010-11-02Migrated basic doctests. Thanks to Preston Timmons for the patch.Russell Keith-Magee
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch,...Russell Keith-Magee
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
2009-12-09Optimised use of 'in' operator on QuerySet using an explicit __contains__ met...Luke Plant
2009-02-08Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton fo...Karen Tracey
2008-07-13Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 compat...Russell Keith-Magee
2008-06-06Fixed #7366 -- Modified a few expected test outputs to remove the dependency ...Russell Keith-Magee
2008-04-28Changed Query.get_columns() to quote the 'AS' column names in an extra_select...Adrian Holovaty
2008-04-27Merged the queryset-refactor branch into trunk.Malcolm Tredinnick
2008-02-19Fixed #2936, #6500 -- Added a __hash__() method to Models (since we implement...Malcolm Tredinnick
2007-10-04Fixed #5641 -- Handle lazy translations correctly when used as default argume...Malcolm Tredinnick
2007-09-16Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@...Malcolm Tredinnick
2007-08-08Fixed #5115 -- Fixed `QuerySet` slices to allow longs.Gary Wilson Jr
2007-08-05Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `For...Gary Wilson Jr
2007-07-05Added a test that shows the problem in #4470. This fails only for the mysql_oldMalcolm Tredinnick
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
2007-02-14Changed __year lookup to use a BETWEEN SQL statement instead of comparing the...Adrian Holovaty
2006-12-19Fixed #3164 -- Added explicit ordering to basic model test, and revised resul...Russell Keith-Magee
2006-09-25Made ``pk`` a generic expansion for the primary key, rather than just an expa...Russell Keith-Magee
2006-08-27Refs #2333 - Modified runtests script to use new testing framework. Migrated ...Russell Keith-Magee
2006-06-27Added {{{Manager.create()}}} method to create and save an object in a single ...Jacob Kaplan-Moss
2006-06-04Changed all model unit tests to use __str__() instead of __repr__(). Also sli...Adrian Holovaty
2006-05-26Made negative indexing on QuerySet instances raise an assertion error (previo...Luke Plant
2006-05-11Updated tests in line with changed exception messages, fixing 2 failures.Luke Plant
2006-05-06Fixed #1781 -- Fixed unit tests to use new error message for DoesNotExist. Th...Adrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty