summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-03Merge pull request #877 from tcarlander/masterAymeric Augustin
Fixed #19971 -- Typo in CBV docs.
2013-03-03Fixed #19942 -- Decoded errors coming from Popen commandsClaude Paroz
Thanks Aymeric Augustin for reporting the issue.
2013-03-03Fix Typo explicitly. Fixes #19971Tobias Carlander
2013-03-03Removed unnecessary imports.Aymeric Augustin
2013-03-02Fixed #19177 -- Better layout for admin login form field labels.Pedro Mourelle
Thanks goes to void for the comprehensive report, to Pedro Mourelle for the fix and to Bryan Veloso, Łukasz Rekucki and Claude Paroz for the review. This fix includes the following changes: * Modified layout to top-aligned labels. * Added 'air' for inputs (the padding was really needed there.). It adjust good to zoom in/out. * Removed float attributes from label and inputs in login form. * Removed useless text-align property.
2013-03-02Fixed getting default encoding in get_system_usernameClaude Paroz
Refs #19933.
2013-03-02Fixed #16888 -- Added microseconds in localized input formatsClaude Paroz
2013-03-02Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATSClaude Paroz
Thanks minddust for the report.
2013-03-02Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and ↵Tim Graham
browsers that persist sessions. Thanks David Sanders.
2013-03-02Fixed #18130 -- Made the isolation level configurable on PostgreSQL.Aymeric Augustin
Thanks limscoder for the report and niwi for the draft patch.
2013-03-02Reordered methods in database wrappers.Aymeric Augustin
* Grouped related methods together -- with banner comments :/ * Described which methods are intended to be implemented in backends. * Added docstrings. * Used the same order in all wrappers.
2013-03-02Add introspection support for BinaryFieldClaude Paroz
2013-03-02Added support for serializing BinaryFieldClaude Paroz
2013-03-02Add a BinaryField model fieldClaude Paroz
Thanks Michael Jung, Charl Botha and Florian Apolloner for review and help on the patch.
2013-03-02Import `CaptureQueriesContext` from its original module.Simon Charette
2013-03-02Fixed #10399 -- Tested that o2o field updates are not constrained by an ↵Simon Charette
inner query.
2013-03-02Added a context manager to capture queries while testing.Simon Charette
Also made some import cleanups while I was there. Refs #10399.
2013-03-01Added import forgotten in 2ee21d9.Aymeric Augustin
Thanks ratsonale for spotting this mistake.
2013-03-01Fixed #19945 -- Fixed default User model Meta inheritance.matiasb
Updated default User model Meta class to extend AbstractUser Meta where translated verbose_name and verbose_name_plural are defined.
2013-03-01Removed unused options copy in flushClaude Paroz
This was used at the time the 'database' option did not default to DEFAULT_DB_ALIAS in make_option.
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