Tim Graham
a41d41046a
[1.8.x] Added removal of check management command to deprecation timeline.
...
Backport of 20e4e8fc79
from master
2015-01-17 19:15:59 -05:00
Tim Graham
7cfcdd98dc
[1.8.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); refs #20702 .
2015-01-17 18:12:47 -05:00
Markus Holtermann
5512338d4f
[1.8.x] Cleaned up migration writer tests
...
Backport of 65d55c4093
from master
2015-01-17 20:42:58 +01:00
Tim Graham
a58a120021
[1.8.x] Standardized indentation in docs/howto/custom-management-commands.txt.
2015-01-17 13:27:59 -05:00
Tim Graham
bfa3478850
[1.8.x] Replaced deprecated requires_model_validation in docs.
...
Backport of 18192b9fa4
from master
2015-01-17 12:52:30 -05:00
Tim Graham
9f86d86c62
[1.8.x] Updated tutorial 1 with actual migrate output.
2015-01-17 10:46:27 -05:00
Claude Paroz
6b1b7263f4
[1.8.x] Fixed PostGIS crosses lookup and added crosses test
...
Backport of aff0e54d5
from master.
2015-01-17 15:46:50 +01:00
Tim Graham
b714316c06
[1.8.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric.
...
Backport of 25264d4e2a
from master
2015-01-17 09:31:56 -05:00
Claude Paroz
666c12e529
[1.8.x] Updated en translation catalogs
2015-01-17 11:18:45 +01:00
Claude Paroz
dec5157a72
[1.8.x] Complemented test about non-supported aggregation exception
...
Backport of d69ecf922d
from master.
2015-01-17 10:04:38 +01:00
David Robles
eb6a07e069
[1.8.x] Fixed typo in 'Django Template Language'
...
Backport of d60b96d988
from master
2015-01-17 03:06:26 +01:00
Tim Graham
8be1b8b488
[1.8.x] Bumped django_next_version in docs config.
2015-01-16 18:30:49 -05:00
Rick Hutcheson
801287bff2
[1.8.x] Fixed a typo in the test responses docs.
...
Backport of 996292d649
from master
2015-01-16 18:24:44 -05:00
Tim Graham
c72448b597
Bumped version to 1.8 alpha 1.
2015-01-16 17:06:32 -05:00
Marc Tamlyn
39d95fb6ad
Fixed #24092 -- Widened base field support for ArrayField.
...
Several issues resolved here, following from a report that a base_field
of GenericIpAddressField was failing.
We were using get_prep_value instead of get_db_prep_value in ArrayField
which was bypassing any extra modifications to the value being made in
the base field's get_db_prep_value. Changing this broke datetime
support, so the postgres backend has gained the relevant operation
methods to send dates/times/datetimes directly to the db backend instead
of casting them to strings. Similarly, a new database feature has been
added allowing the uuid to be passed directly to the backend, as we do
with timedeltas.
On the other side, psycopg2 expects an Inet() instance for IP address
fields, so we add a value_to_db_ipaddress method to wrap the strings on
postgres. We also have to manually add a database adapter to psycopg2,
as we do not wish to use the built in adapter which would turn
everything into Inet() instances.
Thanks to smclenithan for the report.
2015-01-16 16:15:16 -05:00
Jannis Leidel
a17724b791
Fixed the length of a headline in the 1.8 release notes.
...
This broke the website design in the sidebar because the line could not be wrapped.
2015-01-16 21:29:28 +01:00
Collin Anderson
e8171daf0c
Fixed #24146 -- Fixed a missing fields regression in admin checks.
...
This allows using get_field() early in the app loading process.
Thanks to PirosB3 and Tim Graham.
2015-01-16 14:47:09 -05:00
Tim Graham
8e8daf7c9b
Removed empty sections in 1.8 minor features.
2015-01-16 14:41:05 -05:00
Claude Paroz
b4ac232907
Fixed #24099 -- Removed contenttype.name deprecated field
...
This finsishes the work started on #16803 .
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
2015-01-16 20:21:34 +01:00
Sander Smits
374c2419e5
Tested that geo aggregates support slicing
...
Refs #15101 . Patch slightly reworked by Claude Paroz.
2015-01-16 20:10:25 +01:00
Claude Paroz
a79e6b6717
Fixed #24152 -- Deprecated GeoQuerySet aggregate methods
...
Thanks Josh Smeaton and Tim Graham for the reviews.
2015-01-16 19:53:02 +01:00
Collin Anderson
5338ff4808
Fixed #24160 -- Fixed model_regress test on Windows; refs #24007 .
2015-01-16 11:59:08 -05:00
Keryn Knight
726a9550db
Fixed #24143 -- Encouraged use of Http404 messages for debugging.
2015-01-16 09:41:01 -05:00
Claude Paroz
a34fba5e59
Simplified a bit GeoAggregate classes
...
Thanks Josh Smeaton for the review. Refs #24152 .
2015-01-16 10:40:45 +01:00
Tim Graham
28db4af80a
Fixed #24135 -- Made RenameModel rename many-to-many tables.
...
Thanks Simon and Markus for reviews.
2015-01-15 20:34:33 -05:00
Yang Liu
3f9ec12d9c
Fixed #23712 -- Fixed KeyError with BaseForm._html_output()
2015-01-15 20:19:53 -05:00
Collin Anderson
faf0d66a80
Fixed #23850 -- Fixed a migrations test failure on Mac OS X & Python 3
2015-01-15 19:45:43 -05:00
Michał Modzelewski
39b58ad95a
Fixed #24148 -- Documented a bug with case expressions in SQLite < 3.7.0
2015-01-15 19:42:05 -05:00
Markus Holtermann
51dc617b21
Refs #24075 -- Silenced needless call_command output while running tests
...
Thanks Tim Graham for the report
2015-01-15 21:07:39 +01:00
Collin Anderson
67dbc56ec8
Made an expressions_case test work without Pillow.
2015-01-15 14:02:58 -05:00
Simon Charette
47bdad4e6b
Replaced inner functions by class methods.
...
refs #24031
Thanks to Tim Graham and Michał Modzelewski for the review.
2015-01-15 13:03:34 -05:00
Luke Plant
4832c004e8
Direct readers to format_html() in mark_safe() docs.
2015-01-15 08:24:54 +00:00
Claude Paroz
67bcae1e58
Moved check_aggregate_support to BaseSpatialOperations
2015-01-14 22:03:41 +01:00
Tim Graham
9801d419b9
Skipped a problematic file_storage test on Windows.
2015-01-14 15:00:27 -05:00
Collin Anderson
2d5da57f48
Fixed incorrect error message in Options.get_fields()
2015-01-14 14:51:05 -05:00
Tim Graham
28308078f3
Fixed #22603 -- Reorganized classes in django.db.backends.
2015-01-14 14:16:20 -05:00
Markus Holtermann
737d24923a
Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth
...
Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch.
2015-01-14 19:59:39 +01:00
Tim Graham
a6f144fd4f
Fixed a static view test on Windows.
2015-01-14 13:56:49 -05:00
Markus Holtermann
88786afbff
Fixed #24147 -- Prevented managers leaking model during migrations
...
Thanks Tim Graham for the review.
2015-01-14 16:09:33 +01:00
Tim Graham
ec7ef5afbb
Added stub release notes for 1.7.4.
2015-01-14 09:47:29 -05:00
Claude Paroz
dc90bf2ac8
Removed unused import
2015-01-14 09:31:24 +01:00
Tim Graham
1913c1ac21
Added today's security issues to the archive.
2015-01-13 14:44:08 -05:00
Tim Graham
7ecd654497
Removed blank lines from docs/releases/security.txt
2015-01-13 14:37:30 -05:00
Tim Graham
cbbe6a6abb
Added dates to release notes.
2015-01-13 13:08:57 -05:00
Tim Graham
baf2542c4f
Fixed DoS possibility in ModelMultipleChoiceField.
...
This is a security fix. Disclosure following shortly.
Thanks Keryn Knight for the report and initial patch.
2015-01-13 13:03:06 -05:00
Tim Graham
a3bebfdc34
Ensured views.static.serve() doesn't use large memory on large files.
...
This issue was fixed in master by refs #24072 .
2015-01-13 13:03:06 -05:00
Tim Graham
69b5e66738
Fixed is_safe_url() to handle leading whitespace.
...
This is a security fix. Disclosure following shortly.
2015-01-13 13:03:06 -05:00
Carl Meyer
316b8d4974
Stripped headers containing underscores to prevent spoofing in WSGI environ.
...
This is a security fix. Disclosure following shortly.
Thanks to Jedediah Smith for the report.
2015-01-13 13:03:05 -05:00
Tim Graham
958aeda4b5
Added stub release notes for security releases.
2015-01-13 13:03:05 -05:00
Collin Anderson
e7771ec380
Fixed bad model example in admin docs.
2015-01-13 11:53:03 -05:00