summaryrefslogtreecommitdiff
path: root/tests/modeltests/fixtures_model_package
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
* 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-06-19Removed unneeded u prefixesClaude Paroz
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-06Prevented TestNoInitialDataLoading to pollute other tests (Refs #15926)Claude Paroz
Tests were still failing with MySQL. It seems a rollback is solving the issue.
2012-06-06Made TestNoInitialDataLoading pass with MySQL (Refs #15926)Claude Paroz
2012-06-05Fixed #15926 -- Added option --no-initial-data to syncdb and flush.Honza Kral
Thanks msiedlarek, jpaugh64 and vlinhart!
2011-11-27Changed the fixtures used to test the 'initial_data' feature so they don't ↵Aymeric Augustin
contain datetimes. Refs #17275. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert all modeltests to use absolute imports, rather than relative ones.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10Pass commit=False to loaddata in tests, which will keep the DB connection ↵Karen Tracey
open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23Fixed #14155 -- Refactored another doctest suite and call to flush. Thanks ↵Russell Keith-Magee
to Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-19Fixed #6961 - loaddata fails if models is a package instead of a moduleLuke Plant
Thanks to pmd for report, zhaoz, mmalone and justinlilly for patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@11914 bcc190cf-cafb-0310-a4f2-bffc1f526a37