1
0
mirror of https://github.com/django/django.git synced 2025-01-17 22:02:54 +00:00

19998 Commits

Author SHA1 Message Date
Fabio C. Barrionuevo da Luz
e69eea73d9 [1.8.x] Fixed #24177 -- Added documentation about database view support in inspectdb
Backport of bd691f4586c8ad45bd059ff9d3621cbf8afdcdce from master
2015-01-20 01:09:08 +01:00
Tim Graham
06fa019c1b [1.8.x] Fixed #24153 -- Fixed cookie test compatibility with Python 3.4.3+
Backport of b19b81b3960ec2090d40be65547502a3386a769b from master
2015-01-19 15:39:36 -05:00
Markus Holtermann
e55cb91bd4 [1.8.x] Fixed #24163 -- Removed unique constraint after index on MySQL
Thanks Łukasz Harasimowicz for the report.

Backport of 5792e6a88c1444d4ec84abe62077338ad3765b80 from master
2015-01-19 16:55:25 +01:00
Tim Graham
0b3e3e21cf [1.8.x] Added deprecation docs for legacy lookup support; refs #16187.
Backport of 8e435a564034c59ac408ec71283d8ac6ede2ce1f from master
2015-01-19 10:45:50 -05:00
Claude Paroz
6eddaa42c3 [1.8.x] Fixed header of contrib.postgres translation catalog
Backport of eb6e12ca6f from master.
2015-01-19 10:19:42 +01:00
Tim Graham
dd0707c3ca [1.8.x] Added missing items to deprecation timeline/1.7 release notes.
Backport of ecf109f2159f4581adb354263406116c2bda11d7 from master
2015-01-18 21:24:09 -05:00
Josh Smeaton
0c910823c1 [1.8.x] Fixed #24174 -- Fixed extra order by descending
Backport of 69c6a6868f0b4137bb293ff4326ecf4681506c37 from master
2015-01-19 13:18:09 +11:00
Tim Graham
511ef69194 [1.8.x] Removed a flake8 exclude that caused code to be missed.
Backport of 2fa2068406cbef08bac3e2da9b69e86c6b931f57 from master
2015-01-18 20:48:35 -05:00
Tim Graham
663db8ea2a [1.8.x] Removed usage of deprecated removetags in a template test.
Backport of b84100e8e22b175b62ce849acbcf1fa9a1e0e5b8 from master
2015-01-18 18:33:56 -05:00
Tim Graham
559e15a23a [1.8.x] Removed an obsolete comment in django/apps/config.py
Backport of bd98926f0eb19d27821a8a7679b42ff46e53e4da from master
2015-01-18 16:31:21 -05:00
Tim Graham
f31ed5c934 [1.8.x] Clarified deprecation of forms.forms.get_declared_fields(); refs #19617.
Backport of 89e9f81601f7a343690e1153e70fd56091246d0b from master
2015-01-18 16:07:44 -05:00
Claude Paroz
8c8a1a0846 [1.8.x] Added contrib.postgres translation catalog 2015-01-18 21:01:42 +01:00
Tim Graham
4af4ccfb30 [1.8.x] Clarified deprecation of test.utils.TestTemplateLoader.
Backport of 7468c948b6e7830082c939e0f43e2bd780c90527 from master
2015-01-18 14:20:15 -05:00
Tim Graham
390559a75c [1.8.x] Clarified a contrib.sites deprecation and added to 1.7 release notes.
Backport of ba27f895878bb155fefb8c1b9beee2c9f3d85b3f from master
2015-01-18 13:44:53 -05:00
Tim Graham
737cd4ff3d [1.8.x] Clarified contrib.contenttypes.generic deprecation; refs #19774. 2015-01-18 13:43:02 -05:00
Tim Graham
8822d0bf7d [1.8.x] Removed usage of deprecated dumpdata options in docs.
Backport of 1d975ff44bc23efaf0ebf3e96cc35539d80bd244 from master
2015-01-17 20:15:09 -05:00
Tim Graham
a41d41046a [1.8.x] Added removal of check management command to deprecation timeline.
Backport of 20e4e8fc79af9a87fb48951d03d3747f1f550551 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 65d55c409343aab7c2ae771c459720ef797b4cdb 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 18192b9fa4387d5e6c677a7929d91ce04f92cda7 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 25264d4e2a4b3fd6a25e6b617388ea24f3d48d63 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 d69ecf922dd from master.
2015-01-17 10:04:38 +01:00
David Robles
eb6a07e069 [1.8.x] Fixed typo in 'Django Template Language'
Backport of d60b96d98881b47c845125e82269ea6a9b268fbb 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 996292d6498d25c6b3e84435e82edeff5aaa0257 from master
2015-01-16 18:24:44 -05:00
Tim Graham
c72448b597 Bumped version to 1.8 alpha 1. 1.8a1 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