Aymeric Augustin
07fbc6ae0e
Fixed #19547 -- Caching of related instances.
...
When &'ing or |'ing querysets, wrong values could be cached, and crashes
could happen.
Thanks Marc Tamlyn for figuring out the problem and writing the patch.
2013-01-02 22:21:46 +01:00
Tim Graham
695b2089e7
Fixed #19549 - Typo in docs/topics/auth/default.txt
2013-01-02 15:33:18 -05:00
Tim Graham
0d3f16b12e
Fixed #19520 - Corrected some misleading docs about template_name_suffix.
...
Thanks jnns for the report.
2013-01-01 18:45:57 -05:00
Aymeric Augustin
feb41c3246
Modernized middleware tests.
...
* Used override_settings consistently -- changes to DEBUG could leak.
* Took advantage of assertRaisesRegexp.
* Fixed indentation -- some code was indented at 2 spaces.
2013-01-01 23:00:34 +01:00
Claude Paroz
884f77bd15
Removed unusable parameters to empty_form property
2013-01-01 21:00:52 +01:00
Florian Apolloner
33f8afda3a
Merge pull request #615 from evildmp/patch-3
...
Tiny typo fixed in logging docs
2013-01-01 09:28:42 -08:00
Daniele Procida
08140aec5c
Tiny typo fixed in logging docs
2013-01-01 17:12:15 +00:00
Florian Apolloner
c5ce0e8a68
Updated our six module to follow upstream changes.
...
This includes fixes for the java/jython detection and a new license header.
Thanks to Thomas Bartelmess for the report.
2013-01-01 16:21:32 +01:00
Claude Paroz
739724ff82
Added a helper script for managing django translations
2013-01-01 16:17:26 +01:00
Florian Apolloner
7cb0cd5aff
Replaced six.reraise with a simple raise.
2013-01-01 13:20:36 +01:00
Florian Apolloner
a4a4b139cd
Replaced e.message with e.args[0] in 3aa4b8165d
.
2013-01-01 13:14:55 +01:00
Florian Apolloner
009235b138
Merge pull request #182 from kspi/patch-1
...
Correct Lithuanian short date format.
2013-01-01 04:08:25 -08:00
Florian Apolloner
cf7afeb2d1
Fixed a NameError in geoip/libgeoip if the GeoIP library is not found.
...
Thx to Bouke Haarsma for the report.
2013-01-01 12:24:02 +01:00
Anton Baklanov
3aa4b8165d
Fixed #19457 -- ImageField size detection failed for some files.
...
This was caused by PIL raising a zlib truncated stream error since we fed
the parser with chunks instead of the whole image.
2013-01-01 11:54:56 +01:00
Aymeric Augustin
bacb097ac3
Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4
.
2013-01-01 10:14:11 +01:00
Ramiro Morales
3570ff734e
Fixed #17078 -- Made shell use std IPython startup.
...
This allows for a behavior more in line with what is expected by Ipython
users, e.g. the user namespace is initialized from config files, startup
files.
Thanks Benjamin Ragan-Kelley from the IPython dev team for the patch.
2012-12-31 19:40:02 -03:00
Julien Phalip
9180146d21
Fixed #19453 -- Ensured that the decorated function's arguments are obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
...
Thanks to vzima for the report.
2012-12-31 09:34:08 -08:00
Aymeric Augustin
acc5396e6d
Fixed #19519 -- Fired request_finished in the WSGI iterable's close().
2012-12-31 12:47:34 +01:00
Aymeric Augustin
a53c474026
Fixed #16241 -- Ensured the WSGI iterable's close() is always called.
...
Thanks Graham Dumpleton for the report.
2012-12-31 12:45:20 +01:00
Claude Paroz
d11038acb2
Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' string
...
Thanks dibrovsd@gmail.com for the report.
2012-12-31 10:18:59 +01:00
Julien Phalip
cee40c7d79
Added further flexibility to ModelAdmin for controlling post-save redirections.
...
Refs #19505 .
2012-12-30 21:33:21 -08:00
Anssi Kääriäinen
f80a1934cd
Fixed GIS regression in get_default_columns()
...
I changed the normal compiler's get_default_columns() but didn't change
the copy-pasted code in GIS compiler's get_default_columns().
Refs #19385
2012-12-30 12:10:15 +02:00
Anssi Kääriäinen
ce3c71faf1
Minor improvement to proxy model handling
...
Refs #19385
2012-12-30 11:20:27 +02:00
Anssi Kääriäinen
807eff7439
Made use of PathInfo.direct flag in trim_joins
...
Refs #19385
2012-12-30 11:20:13 +02:00
Anssi Kääriäinen
68985db482
Added Query.join_parent_model()
...
This simplifies especially compiler.py a lot, where almost the same
code was repeated multiple times.
Refs #19385
2012-12-30 11:19:35 +02:00
Anssi Kääriäinen
4511aeb6b8
Moved join path generation to Field
...
Refs #19385
2012-12-30 11:19:19 +02:00
Anssi Kääriäinen
9ef3cab40b
Made sure join_field is always available in .join()
...
Refs #19385
2012-12-30 11:18:25 +02:00
Tim Graham
a04df803a5
Removed links to deprecated IGNORABLE_404_STARTS/ENDS settings.
...
refs #19516 and 641acf76e7
2012-12-29 18:52:50 -05:00
Aymeric Augustin
a7b7d6320c
Merge pull request #595 from bmispelon/patch-1
...
Fixed a typo in WidthRatioNode.
2012-12-29 13:39:52 -08:00
Aymeric Augustin
0b09b1a7ca
Merge pull request #609 from mitar/patch-3
...
Fixed typo in collectstatic output.
2012-12-29 13:35:52 -08:00
Aymeric Augustin
4e5369a596
Silenced warnings in the tests of deprecated features.
2012-12-29 22:32:07 +01:00
Aymeric Augustin
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Aymeric Augustin
ef017a5f00
Advanced pending deprecation warnings.
...
Also added stacklevel argument, fixed #18127 .
2012-12-29 21:59:07 +01:00
Aymeric Augustin
130829334c
Removed csrf_response_exempt and csrf_view_exempt.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
2ecf56ea3f
Removed legacy ways of calling cache_page.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
9f9a4cdecd
Removed truncate_words and truncate_html_words.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
e00d1b6dc6
Removed obsolete compatibility functions for old Pythons.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
5d5e1f5afa
Removed support is_safe and needs_autoescape as function attributes.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
641acf76e7
Removed IGNORABLE_404_STARTS/ENDS settings.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
4a6490a4a0
Removed HttpRequest.raw_post_data.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
d1c72d9e01
Removed django.core.management.setup_environ and execute_manager.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
59351247bd
Removed django.core.cache.backends.memcached.CacheClass.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
ebd2598596
Removed django.contrib.markup.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
f27a4ee327
Removed django.contrib.localflavor.
...
Each localflavor lives on as a separate app.
2012-12-29 21:59:06 +01:00
Aymeric Augustin
b2d20e9826
Removed legacy shortcut for importing GeoIP.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
d4ea02b992
Removed the legacy form wizard.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
052271168b
Removed django.contrib.databrowse.
...
RIP -- you served us well.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
02f3daadd6
Removed interpolation of post_url_continue in the admin.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
59ddb79e90
Removed django.conf.urls.defaults.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
fb9f1b9bfb
Removed backwards-compatibility shim for #16288 .
...
Also unit-tested django.utils.log.RequireDebugTrue for consistency.
2012-12-29 21:58:12 +01:00