summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-01Fixed #19960 -- Fixed sentence in contrib.auth signals docsClaude Paroz
Thanks edd at slipszenko.net for the report.
2013-03-01Fixed #18898 -- Added tests with a fix for ModelMultipleChoiceFieldClaude Paroz
2013-03-01Fixed #16612 -- Improved has_changed detection for localized field valuesClaude Paroz
Thanks Simon Charette for the review.
2013-02-28Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.Aymeric Augustin
Thanks tomas_00 for the report.
2013-02-28Fixed tests broken in 2ee21d9.Aymeric Augustin
2013-02-28Implemented persistent database connections.Aymeric Augustin
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-28Fixed #19937 - Typo in class-based views intro.Tim Graham
2013-02-28Fixed #5241 -- Kept active transalation in LocaleMiddleware.process_response.Aymeric Augustin
2013-02-28Fixed #12823 -- Was already fixed in master, tests addedAnssi Kääriäinen
Also added a little improvement to sql/query.py to get rid of non-necessary IS NOT NULL check.
2013-02-281.5 is no longer "UNDER DEVELOPMENT".Florian Apolloner
Thanks to Bruno Renie for reporting.
2013-02-28Added a Trac-related item to the release checklist.Aymeric Augustin
2013-02-27Merge pull request #864 from ambv/realmacosxtmpAymeric Augustin
Fixed two test failures when tmp dirs are below a symlink. This affects OS X where /var is a symlink to /private/var.
2013-02-27use the real path to fix OS X /var/folders vs. /private/var/folders mismatchŁukasz Langa
2013-02-27Made dateformat tests reactivate original languageAnssi Kääriäinen
2013-02-27Merge pull request #858 from intgr/py3kdoc-fixTim Graham
Fixed a typo in Python 3 porting guide.
2013-02-27Fixed #19926 -- Fixed a link to code example in queries docsClaude Paroz
Thanks Randy Salvo for the report.
2013-02-27Fixed a test that relied on database exceptions not being wrapped.Aymeric Augustin
2013-02-27Fixed a PendingDeprecationWarning in template_tests.Aymeric Augustin
2013-02-27Fixed two bugs in 59a35208.Aymeric Augustin
* StandardError doesn't exist any more under Python 3. * Python 2.6 still allows `raise "foo"`.
2013-02-27Refactored database exceptions wrapping.Aymeric Augustin
Squashed commit of the following: commit 2181d833ed1a2e422494738dcef311164c4e097e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 27 14:28:39 2013 +0100 Fixed #15901 -- Wrapped all PEP-249 exceptions. commit 5476a5d93c19aa2f928c497d39ce6e33f52694e2 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 17:26:52 2013 +0100 Added PEP 3134 exception chaining. Thanks Jacob Kaplan-Moss for the suggestion. commit 9365fad0a650328002fb424457d675a273c95802 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 17:13:49 2013 +0100 Improved API for wrapping database errors. Thanks Alex Gaynor for the proposal. commit 1b463b765f2826f73a8d9266795cd5da4f8d5e9e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 15:00:39 2013 +0100 Removed redundant exception wrapping. This is now taken care of by the cursor wrapper. commit 524bc7345a724bf526bdd2dd1bcf5ede67d6bb5c Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 14:55:10 2013 +0100 Wrapped database exceptions in the base backend. This covers the most common PEP-249 APIs: - Connection APIs: close(), commit(), rollback(), cursor() - Cursor APIs: callproc(), close(), execute(), executemany(), fetchone(), fetchmany(), fetchall(), nextset(). Fixed #19920. commit a66746bb5f0839f35543222787fce3b6a0d0a3ea Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 14:53:34 2013 +0100 Added a wrap_database_exception context manager and decorator. It re-throws backend-specific exceptions using Django's common wrappers.
2013-02-27Fixed #19861 -- Transaction ._dirty flag improvementAnssi Kääriäinen
There were a couple of errors in ._dirty flag handling: * It started as None, but was never reset to None. * The _dirty flag was sometimes used to indicate if the connection was inside transaction management, but this was not done consistently. This also meant the flag had three separate values. * The None value had a special meaning, causing for example inability to commit() on new connection unless enter/leave tx management was done. * The _dirty was tracking "connection in transaction" state, but only in managed transactions. * Some tests never reset the transaction state of the used connection. * And some additional less important changes. This commit has some potential for regressions, but as the above list shows, the current situation isn't perfect either.
2013-02-27Fixed #16807 - Added a class-based views intro.Tim Graham
Thanks Preston Holmes for the text.
2013-02-27[py3] Always fed hashlib with bytes.Łukasz Langa
2013-02-26Removed a .mo file incorrectly put under Git control.Ramiro Morales
2013-02-26Simplified compilemessages tests a bit.Ramiro Morales
2013-02-26Move management helper function to new utils module.Ramiro Morales
This allows us to iremove an inter-command import.
2013-02-26Don't use os.system() in compilemessages.Ramiro Morales
Fixes #19584. This implies stop storing file path command line arguments in envvars as a security measure to start relying on with Popen's shell=False instead, and addition of an 'utils' module. Thanks kmichel_wgs for the report.
2013-02-26Added Python 3.2/3.3 trove classifiers in setup.pyClaude Paroz
2013-02-26Added a note about creating new doc versions; update stable doc version ↵Carl Meyer
before announcement.
2013-02-26[py3] str.decode does not exist; str.encode was intendedMarti Raudsepp
2013-02-26Fixed i18n test to match changed translationClaude Paroz
Forward port of ab6ff2e0ac from stable/1.5
2013-02-26Merged contrib translations from 1.5 branchClaude Paroz
2013-02-26Merged core translations from 1.5 branchClaude Paroz
2013-02-26Added note about updating default docs version in howto-release doc.Carl Meyer
2013-02-26Fixed #19922 - Typo in translation docs.Tim Graham
Thanks amoebob for the report.
2013-02-26Fixed discovery of the Django installation during tests.Florian Apolloner
If Django was symlinked into site-packages the previous approach to discover the tests subdirectory would fail. The revised version now always points to the location of the source and not the import path.
2013-02-26Changed test_runner tests to use full python path for settings files.Florian Apolloner
2013-02-26fixed admin_scripts tests on python 3.3Florian Apolloner
2013-02-26Ensured that we have an absolute path to RUNTESTS_DIR.Florian Apolloner
This is needed to make 'python runtests.py' work, otherwise only 'python ./runtests.py' would work.
2013-02-26Updated docs to reflect new tests layout.Florian Apolloner
Thanks to Ramiro Morales for the initial patch.
2013-02-26Renamed a template to be found by the loaders.Florian Apolloner
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Adjusted coveragercFlorian Apolloner
2013-02-26Adjusted runtests to the new layout.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-26Removed __init__.py files.Florian Apolloner
2013-02-26Moved test_templates to templates to prevent issues with ↵Florian Apolloner
regressiontests/templates later on.
2013-02-26Updated an inaccurate comment.Aymeric Augustin
Tests can run nearly as fast under PostgreSQL and MySQL as under SQLite with a bit of configuration and the speedup is always a good thing.
2013-02-25Fixed a caching test on Python 3.Carl Meyer
2013-02-25Fixed #18191 -- Don't consider Accept-Language redundantly in cache key.Łukasz Langa
Thanks to choongmin for the original patch.