Anssi Kääriäinen
37ea9f9c03
Fixed #20507 -- SubqueryConstraint alias handling
...
MySQL should work now, too.
2013-05-27 15:05:03 +03:00
Ramiro Morales
7a92312827
Fixed #12491 -- Tweak checkbox widget help text alignment on the admin.
...
Thanks master' for the report and Niels van Dijk for the fix
2013-05-27 08:47:18 -03:00
Claude Paroz
b14bd60404
Reimplemented PostGIS spatial_version with cached_property
2013-05-27 12:06:56 +02:00
Baptiste Mispelon
08726cb013
Fix #20505 : Typo in BinaryField documentation.
2013-05-27 11:35:34 +02:00
Aymeric Augustin
749c2e4333
Fixed URL for six inventory.
2013-05-27 11:15:40 +02:00
Aymeric Augustin
2a22540057
Fixed #20508 -- ReST typo.
2013-05-27 11:14:51 +02:00
Anssi Kääriäinen
d467e11785
Fixed #20507 -- SubqueryConstraint alias relabeling
...
The SubqueryConstraint defined relabeled_clone(), but that was never
called. Instead there is now clone() and relabel_aliases() methods for
SubqueryConstraint.
A related problem was that SubqueryConstraint didn't correctly use
quote_name_unless_alias() of the outer query. This resulted in failures
when running under PostgreSQL.
2013-05-27 12:25:29 +03:00
Aymeric Augustin
ae71e3134e
Merge pull request #1224 from yishaibeeri/master
...
Fixed #20506 - Typo in transactions docs.
2013-05-27 02:06:49 -07:00
yishaibeeri
f077f89198
Patch for ticket #20506 - documentation type
2013-05-27 11:14:38 +03:00
Claude Paroz
1a4b435218
Merge pull request #1217 from erikr/better-settings-errors2
...
Fixed #20443 -- Import errors in settings cause confusing error messages
2013-05-27 01:08:18 -07:00
Ramiro Morales
0fa8d43e74
Replaced `and...or...` constructs with PEP 308 conditional expressions.
2013-05-26 23:47:50 -03:00
Preston Holmes
d228c1192e
Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.
...
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.
Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
2013-05-25 16:27:34 -07:00
Shai Berger
36d47f72e3
Fixed get_or_create...test_savepoint_rollback test for Python3
...
The test was always skipped on Python3 because string literals are unicode
2013-05-26 01:53:24 +03:00
Shai Berger
cf159e5c93
Fix get_or_create test failure under Oracle
...
Test expected that when given invalid utf-8, the backend should raise
a DatabaseError, but the Oracle backend raises a UnicodeDecodeError.
2013-05-26 01:39:34 +03:00
Erik Romijn
9a524e3c5b
Fixed #20443 -- Import errors in settings cause confusing error messages
2013-05-25 20:25:29 +02:00
Andrew Jesaitis
31f6421b13
Fixed #19938 -- Consumed iterator only once in paginator's Page
...
Thanks Joshua Fialkoff for the report.
2013-05-25 16:27:26 +02:00
Baptiste Mispelon
2ee447fb5f
Fixed #20296 -- Allowed SafeData and EscapeData to be lazy
2013-05-25 16:06:44 +02:00
Claude Paroz
be0bab1bb8
Fixed #11725 -- Made possible to create widget label tag without "for"
...
Thanks Denis Martinez for the report and initial patch, and
Sergey Kolosov for bringing the patch up to date.
2013-05-25 15:31:07 +02:00
Claude Paroz
ab61dd2829
Updated translation catalogs
...
Updated core/admin/admindocs/comments translation catalogs.
2013-05-25 14:32:44 +02:00
Claude Paroz
b7cf44dde8
Fixed some minor translation-related issues
2013-05-25 14:32:44 +02:00
Marc Egli
b3bccce1a0
Fixed #20455 -- Do not use ngettext for undefined plurals
...
Using two separate translation strings instead of gettext plural when
there is no reference to the number in the translated string. This
prevents some translations like Russian and Latvian to use the singular
form for 11 or 21.
2013-05-25 14:16:46 +02:00
Claude Paroz
c0439b6210
Removed obsolete attribute of DjangoTranslation
2013-05-25 14:01:52 +02:00
Claude Paroz
f940e564e4
Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware
...
Thanks Ram Rachum for the report and the initial patch, and Simon
Charette for the review.
2013-05-25 12:10:53 +02:00
Vlastimil Zíma
6de81d65f4
Fixed #14825 -- LocaleMiddleware keeps language
...
* LocaleMiddleware stores language into session if it is not present there.
2013-05-25 10:52:54 +02:00
Andrew Godwin
1514f17aa6
Rotate CSRF token on login
2013-05-24 22:15:08 +01:00
Claude Paroz
7e95d7a930
Fixed a regression in router initialization
...
Regression was introduced in 6a6bb168b
. Thanks Bas Peschier for the
report.
2013-05-24 20:48:02 +02:00
Tim Graham
fbab3209fc
Fixed #20492 - Removed a broken link in GIS docs.
2013-05-24 12:35:20 -04:00
Tim Graham
92c9052add
Merge pull request #1210 from alasdairnicol/jquery_cookie_plugin_link
...
Updated link to jQuery Cookie plugin site
2013-05-24 09:25:27 -07:00
Preston Holmes
c4fb8326dd
Merge pull request #1209 from tax/master
...
Updated link to active project for ODBC backend
2013-05-24 08:47:02 -07:00
Brian Rosner
f3ba6495e2
Updated my bio
2013-05-24 08:22:08 -06:00
Alasdair Nicol
81f454a322
Update link to jQuery Cookie plugin site
2013-05-24 14:36:17 +01:00
Paul Tax
fb1d813484
Link to active fork for ODBC backend
...
It took me quite some time to find if and where the ODBC backend was maintained.
I found (on djangoproject.com):
http://code.google.com/p/django-pyodbc/ (last commit about 3 years ago)
then:
https://github.com/avidal/django-pyodbc avidal fork.
then:
https://github.com/aurorasoftware/django-pyodbc/ aurorasoftware version which has avidal improvements merged.
Avidals version now links to https://github.com/aurorasoftware/django-pyodbc/ which is also the version installed through PIP.
2013-05-24 13:37:20 +03:00
Luke Plant
17559e6eb0
Optimisation in prefetch_related_objects
2013-05-24 11:19:44 +01:00
Luke Plant
4fd94969d8
Fixed #19607 - prefetch_related crash
...
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
2013-05-24 11:10:48 +01:00
Gavin Wahl
48424adaba
Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.
...
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.
Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
Donald Stufft
8dda8a5ecc
Removed noise from pre_syncdb signal tests
...
Only make assertions that actually test the functionality of the
change and not unrelated pieces.
2013-05-23 15:58:08 -04:00
Tim Graham
dffdca1109
Fixed #20316 - Clarified transaction behavior of TestCase.
...
Thanks uberj@ for the report and lolek09 for the patch.
2013-05-23 10:57:44 -04:00
Tim Graham
5a62236b16
Added back a link to docs/internals/committers.txt
2013-05-23 10:48:36 -04:00
Alex Gaynor
cf007f0cbf
Update my employer.
2013-05-23 07:23:06 -07:00
Andrew Godwin
ec5dc0010c
Fixing some FIXMEs in howto-release-django. Refs #20082
2013-05-23 15:15:02 +01:00
Claude Paroz
6a6bb168be
Delayed settings.DATABASE_ROUTERS usage by ConnectionRouter
...
Refs #20474 .
2013-05-23 15:19:12 +02:00
Claude Paroz
2d8c132b18
Delayed settings.DATABASES usage by ConnectionHandler
...
Refs #20474 .
2013-05-23 15:19:12 +02:00
Claude Paroz
499a745ae1
Fixed #20474 -- Proxied and deprecated django.db.backend
2013-05-23 15:19:12 +02:00
Tim Graham
a46a399534
Fixed #20417 - Noted that a server restart is required to load new templatetag modules.
...
Thanks Katya for the suggestion.
2013-05-23 08:52:55 -04:00
Tim Graham
9e65bd33db
Fixed #20482 - Added a file reference in tutorial 3.
...
Thanks diek@ for the suggestion.
2013-05-23 08:36:53 -04:00
Tim Graham
8aca2504df
Fixed #20080 - Recommended use of PYTHONHASHSEED
...
Thanks jacob for the suggestion and ryankask
for the patch.
2013-05-23 08:16:03 -04:00
Claude Paroz
b664cb818d
Fixed #19237 (again) - Made strip_tags consistent between Python versions
2013-05-23 14:01:27 +02:00
Ramiro Morales
8c2fd050f8
Made fix for #9321 less buggy and more effective.
...
Don't try to be smart about building a good-looking help string
because it evaluates translations too early, simply use the same old
strategy as before. Thanks Donald Stufft for the report.
Also, actually fix the case reported by the OP by special-casing
CheckboxSelectMultiple.
Added tests.
Refs #9321 .
2013-05-23 07:49:29 -03:00
Marc Tamlyn
01769823f1
Merge pull request #1201 from takis/docs_typo
...
Fixed comments for translators example in the i18n documentation
2013-05-23 02:12:57 -07:00
Panagiotis H.M. Issaris
6845dc7e8f
Fixed comments for translators example in the i18n documentation
...
The documentation regarding adding a comment for translators was confusing
as the example contained mismatching tags.
2013-05-23 10:19:10 +02:00