Claude Paroz
22be90dd17
Fixed #19989 -- Suppressed UnicodeWarning during BinaryField validation
...
Thanks Aymeric Augustin for the report and Simon Charette for the
review.
2013-03-06 08:30:23 +01:00
Loic Bistuer
9ba0e4e4ee
Fixed minor warnings in tests.
2013-03-06 01:13:36 +07:00
Juan Pedro Fisanotti
d9330d5be2
Fixed #6585 -- Admin relationship widgets: Respect ordering defined by target model's ModelAdmin.
...
Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos
Matías de la Torre for the fix.
2013-03-04 18:08:53 -03:00
Javier Mansilla
3ea0c7d35a
Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete protected FKs.
...
Thanks rafadev for the report and Javier Mansilla for the fix.
2013-03-04 13:30:59 -03:00
Claude Paroz
51cc7029b9
Fixed #19464 -- Eased customization of ClearableFileInput's link markup
...
Thanks rubyruy for the report and the patch.
2013-03-04 17:03:48 +01:00
Ramiro Morales
03e40140ff
Merge pull request #871 from matiasb/ticket_19945
...
Fixed #19945 -- Fixed default User model Meta inheritance.
2013-03-03 14:30:36 -08:00
Ramiro Morales
60dd4eabe7
Removed mentions of modeltests.
2013-03-03 18:44:06 -03:00
Ramiro Morales
3bbcec0aba
Removed mentions of regressiontests.
2013-03-03 17:03:11 -03:00
Ramiro Morales
b01381072a
Release notes blurb for 804366327d
.
2013-03-03 16:44:44 -03:00
matiasb
804366327d
Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID.
...
Thanks Natalia Bidart for the report and Matías Bordese for the fix.
2013-03-03 16:10:11 -03:00
Aymeric Augustin
2047865964
Merge pull request #877 from tcarlander/master
...
Fixed #19971 -- Typo in CBV docs.
2013-03-03 11:07:04 -08:00
Claude Paroz
e4bf0f2c36
Fixed #19942 -- Decoded errors coming from Popen commands
...
Thanks Aymeric Augustin for reporting the issue.
2013-03-03 20:00:44 +01:00
Tobias Carlander
df7668a9e4
Fix Typo explicitly. Fixes #19971
2013-03-03 22:34:10 +04:00
Aymeric Augustin
97afc49bb0
Removed unnecessary imports.
2013-03-03 16:07:38 +01:00
Pedro Mourelle
0868e5a8ac
Fixed #19177 -- Better layout for admin login form field labels.
...
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-02 20:27:59 -03:00
Claude Paroz
8e8c9b908a
Fixed getting default encoding in get_system_username
...
Refs #19933 .
2013-03-02 22:41:08 +01:00
Claude Paroz
21722702c8
Fixed #16888 -- Added microseconds in localized input formats
2013-03-02 19:04:23 +01:00
Claude Paroz
384c180e41
Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATS
...
Thanks minddust for the report.
2013-03-02 18:11:10 +01:00
Tim Graham
fe5d9fe5fe
Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and browsers that persist sessions.
...
Thanks David Sanders.
2013-03-02 10:11:23 -05:00
Aymeric Augustin
e0449316eb
Fixed #18130 -- Made the isolation level configurable on PostgreSQL.
...
Thanks limscoder for the report and niwi for the draft patch.
2013-03-02 15:05:49 +01:00
Aymeric Augustin
d63e55039d
Reordered methods in database wrappers.
...
* 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-02 13:33:17 +01:00
Claude Paroz
c5a25c2771
Add introspection support for BinaryField
2013-03-02 10:29:03 +01:00
Claude Paroz
d680a3f447
Added support for serializing BinaryField
2013-03-02 10:29:02 +01:00
Claude Paroz
8ee1eddb7e
Add a BinaryField model field
...
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
2013-03-02 10:29:02 +01:00
Simon Charette
0f306cad84
Import `CaptureQueriesContext` from its original module.
2013-03-02 03:45:42 -05:00
Simon Charette
fb3d85bd14
Fixed #10399 -- Tested that o2o field updates are not constrained by an inner query.
2013-03-02 03:24:08 -05:00
Simon Charette
952ba5237e
Added a context manager to capture queries while testing.
...
Also made some import cleanups while I was there.
Refs #10399 .
2013-03-02 02:41:14 -05:00
Aymeric Augustin
203c17c21e
Added import forgotten in 2ee21d9
.
...
Thanks ratsonale for spotting this mistake.
2013-03-01 23:46:53 +01:00
matiasb
f39fead1c3
Fixed #19945 -- Fixed default User model Meta inheritance.
...
Updated default User model Meta class to extend AbstractUser Meta
where translated verbose_name and verbose_name_plural are
defined.
2013-03-01 19:32:20 -03:00
Claude Paroz
0657646cb8
Removed unused options copy in flush
...
This was used at the time the 'database' option did not default to
DEFAULT_DB_ALIAS in make_option.
2013-03-01 22:52:08 +01:00
Claude Paroz
6d3b0c33dc
Fixed #19960 -- Fixed sentence in contrib.auth signals docs
...
Thanks edd at slipszenko.net for the report.
2013-03-01 22:15:23 +01:00
Claude Paroz
3318595c0b
Fixed #18898 -- Added tests with a fix for ModelMultipleChoiceField
2013-03-01 09:35:18 +01:00
Claude Paroz
892bc91cb0
Fixed #16612 -- Improved has_changed detection for localized field values
...
Thanks Simon Charette for the review.
2013-03-01 09:35:04 +01:00
Aymeric Augustin
0c82b1dfc4
Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.
...
Thanks tomas_00 for the report.
2013-02-28 17:35:13 +01:00
Aymeric Augustin
cf30469164
Fixed tests broken in 2ee21d9
.
2013-02-28 17:08:16 +01:00
Aymeric Augustin
2ee21d9f0d
Implemented persistent database connections.
...
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-28 15:28:13 +01:00
Tim Graham
d009ffe436
Fixed #19937 - Typo in class-based views intro.
2013-02-28 08:25:14 -05:00
Aymeric Augustin
aa089b106b
Fixed #5241 -- Kept active transalation in LocaleMiddleware.process_response.
2013-02-28 14:21:48 +01:00
Anssi Kääriäinen
06de130dae
Fixed #12823 -- Was already fixed in master, tests added
...
Also added a little improvement to sql/query.py to get rid of
non-necessary IS NOT NULL check.
2013-02-28 15:05:48 +02:00
Florian Apolloner
481f3f13b5
1.5 is no longer "UNDER DEVELOPMENT".
...
Thanks to Bruno Renie for reporting.
2013-02-28 11:11:26 +01:00
Aymeric Augustin
ab1c25f674
Added a Trac-related item to the release checklist.
2013-02-28 10:26:47 +01:00
Aymeric Augustin
4526b67fe4
Merge pull request #864 from ambv/realmacosxtmp
...
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-27 14:51:03 -08:00
Łukasz Langa
af3321a1e8
use the real path to fix OS X /var/folders vs. /private/var/folders mismatch
2013-02-27 23:33:47 +01:00
Anssi Kääriäinen
21189cb80b
Made dateformat tests reactivate original language
2013-02-27 23:48:17 +02:00
Tim Graham
226a9fb2ea
Merge pull request #858 from intgr/py3kdoc-fix
...
Fixed a typo in Python 3 porting guide.
2013-02-27 13:16:55 -08:00
Claude Paroz
b0ba21db07
Fixed #19926 -- Fixed a link to code example in queries docs
...
Thanks Randy Salvo for the report.
2013-02-27 21:30:54 +01:00
Aymeric Augustin
7aaa8a7779
Fixed a test that relied on database exceptions not being wrapped.
2013-02-27 21:12:48 +01:00
Aymeric Augustin
b2c697b029
Fixed a PendingDeprecationWarning in template_tests.
2013-02-27 21:09:27 +01:00
Aymeric Augustin
1b100d7bee
Fixed two bugs in 59a35208
.
...
* StandardError doesn't exist any more under Python 3.
* Python 2.6 still allows `raise "foo"`.
2013-02-27 19:24:23 +01:00
Aymeric Augustin
59a3520875
Refactored database exceptions wrapping.
...
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-27 17:26:54 +01:00