Joe Simpson
8277f5d7d0
[1.8.x] Added each_context() and a template tip to custom admin view docs.
...
Backport of 648e516b8d5694c01a225fe27429f0bf7776fb43 from master
2015-02-13 10:38:29 -05:00
Markus Holtermann
bd80fa6b0f
[1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
Backport of f287bec5833d75750fa6368bc2802741b7924533 from master
2015-02-13 15:21:10 +01:00
Tim Graham
4c948c7c9d
[1.8.x] Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
...
Backport of e8cf4f8abec87b9da6ed8e5c8cf833af9b27f4dd from master
2015-02-13 07:02:37 -05:00
Tim Graham
6476fa73d3
[1.8.x] Forwardported item in 1.7.5 release notes.
...
Backport of a93c5fb2bfbadd4628a2a5d6b6aecbd64bd527cb from master
2015-02-12 14:06:21 -05:00
Thomas Güttler
6b8c8d7e18
[1.8.x] Clarified timeout=0 in cache docs.
...
Backport of e519ee1d352e0e36fcb8edc9d33ec2845f663d3a from master
2015-02-12 10:32:56 -05:00
Josh Smeaton
a6ea62aeaf
[1.8.x] Refs #14030 -- Improved expression support for python values
...
Backport of e2d6e14662d780383e18066a3182155fb5b7747b from master
2015-02-12 08:53:03 +11:00
Tim Graham
411028df53
[1.8.x] Updated docs and runtests.py for removal of tests from contrib.
...
Backport of 7cf3a5786bc76374e743fbc0c1a1c8470a61f6c0 from master
2015-02-11 12:05:55 -05:00
Josh Smeaton
3518d51697
[1.8.x] Fixed #24200 -- Made introspection bypass statement cache
...
Backport of 1fbe8a2de3 from master
2015-02-10 23:42:16 +02:00
Tim Graham
a8b70d251d
[1.8.x] Sorted imports with isort; refs #23860 .
...
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-02-09 14:24:06 -05:00
Markus Holtermann
edbf6de753
[1.8.x] Revert "Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth"
...
This reverts commit 737d24923ac69bb8b89af1bb2f3f4c4c744349e8.
Backport of 2832a9b028c267997b2fd3dd0989670d57cdd08f from master
2015-02-07 20:35:20 +01:00
Peter Inglesby
b6323302e0
[1.8.x] Fixed docs typo
...
Backport of a8f1c70dce792831688588f271efb3a825dffef8 from master
2015-02-07 18:47:17 +01:00
Collin Anderson
fc8e1e0c10
[1.8.x] Fixed E265 comment style
...
Backport of db77915c9fd35a203edd8206f702ee4082f04d4a from master
2015-02-06 09:35:08 -05:00
Tim Graham
6adc23d6b6
[1.8.x] Removed gather_profile_stats.py
...
This script uses the unmaintained hotshot module (gone on Python 3)
and doesn't seem to be Django specific in any way.
Backport of 388d986b8a6bb1363dab9f53ea435dff4dfe92cb from master
2015-02-06 08:55:02 -05:00
minusf
5bc9904b35
[1.8.x] Removed inaccurate sentence about PO files in translation docs.
...
Backport of aea103b6a599a5e4c71a355b2cac237f067be13b from master
2015-02-06 07:46:14 -05:00
Tom Christie
f5749252ea
[1.8.x] Improved nested ArrayField example
...
Backport of 737b184d914d5cc4a6ed8fe2a1d66ec1b7369f46 from master
2015-02-05 11:35:23 +01:00
Josh Schneier
16e3910e9c
[1.8.x] Fixed typos of "select_related" in docs and tests.
...
Backport of 7d363ed43247a80d2b764723e1bf6e0e6da4e82f from master
2015-02-04 07:32:34 -05:00
Tim Graham
dd83bab931
[1.8.x] Demoted "Installing a distribution-specific package" in install notes.
...
Backport of 281fc03474ac18c8281ed4cf289128c87bda2030 from master
2015-02-03 16:38:05 -05:00
Tim Graham
ff39de1e1e
[1.8.x] Added a "Writing migrations" how-to.
...
Backport of 570912a97d5051fa3aeacd9d16c3be9afcf92198 from master
2015-02-03 13:46:56 -05:00
minusf
b35c226154
[1.8.x] Fixed typos in docs/ref/forms/validation.txt.
...
Backport of 66f5aa9fa5d53ddd7fbdb7ddac39c429f0c1b4fd from master
2015-02-03 12:27:16 -05:00
Anssi Kääriäinen
43b0131fb5
[1.8.x] Fixed #23617 -- Added get_pk_value_on_save()
...
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.
Thanks to Marc Tamlyn and Tim Graham for review.
Backport of 8adc59038cdc6ce4f9170e4de2d716d940e136b3 from master
2015-02-03 09:25:55 -05:00
Tim Graham
5fdd74f4be
[1.8.x] Fixed broken links in class based views flattend index; refs #24250 .
...
Backport of 9a391fbd6102176d576aa96ed3aeee9e9661b455 from master
2015-02-03 09:12:08 -05:00
Tim Graham
6454716264
[1.8.x] Fixed #24250 -- Corrected mistakes in FormMixin docs.
...
Backport of 5d193d042a3cc49033f0e8b5125913650d779496 from master
2015-02-03 08:42:49 -05:00
Aymeric Augustin
f87457a460
[1.8.x] Fixed #24168 -- Allowed selecting a template engine in a few APIs.
...
Specifically in rendering shortcuts, template responses, and class-based
views that return template responses.
Also added a test for render_to_response(status=...) which was missing
from fdbfc980.
Thanks Tim and Carl for the review.
Backport of 2133f31 from master.
Conflicts:
docs/topics/http/shortcuts.txt
tests/generic_views/test_base.py
2015-02-03 08:32:14 +01:00
Matt Westcott
ef90ca5f42
[1.8.x] Fixed #24255 -- Specifed 'fields' parameter in modelformset_factory / inlineformset_factory examples.
...
Backport of 8d64aae883f7721c33f88276e7c999844085659f from master
2015-02-02 10:47:42 -05:00
Tim Graham
6d0538bd8c
[1.8.x] Simplified a versionchanged notes for LiveServerTestCase.
2015-02-01 21:06:27 -05:00
Tim Graham
28bb0ad199
[1.8.x] Fixed #24208 -- Documented changes in private model relations.
...
Backport of 888054bff7c5878e026bac2e712d5480f7e295c7 from master
2015-01-31 11:03:08 -05:00
Claude Paroz
c77dd64402
[1.8.x] Fixed #14483 -- Allowed using subqueries with GIS lookups
...
Backport of a0b5f15ea5f from master.
2015-01-30 20:29:05 +01:00
Andrei Kulakov
3d3c7a62c8
[1.8.x] Updated recommendation for testing keyword arg in custom fields.
...
Backport of dbabf43920bfd99f0e720c7c20228c17128a2af8 from master
2015-01-30 08:30:03 -05:00
Tim Graham
df68751134
[1.8.x] Fixed #24164 -- Fixed Oracle GIS limited aggregation test failure.
...
Backport of 29c0073335c7f7cdc482866e093e5e42a42625e5 from master
2015-01-30 06:34:36 -05:00
Tim Graham
df7cca6dff
[1.8.x] Added stub 1.7.5 release notes.
...
Backport of ac6033d8835ac54c1222801f6aeb47f9997b517a from master
2015-01-28 06:39:11 -05:00
Markus Holtermann
29fa0e3c66
[1.8.x] Corrected naming of method and attribute
...
Backport of 335df82a3f13877220712090eb455a32eea87421 from master
2015-01-27 19:48:46 +01:00
Tim Graham
617121cd4a
[1.8.x] Added 1.4.19 release notes.
...
Backport of 6f8418089c5e81d12718187da2140394ed30da43 from master
2015-01-27 11:48:27 -05:00
Markus Holtermann
645fe136c4
[1.8.x] Refs #24104 -- Added missing release notes
...
Forwardport of 3d4a826174b7a411a03be39725e60c940944a7fe from stable/1.7.x
2015-01-27 16:05:27 +01:00
Collin Anderson
09e8985f25
[1.8.x] Fixed #24190 -- Clarified len(queryset)
...
Backport of ee23e03637aa8b82311f93b0a660574a0512891a from master
2015-01-24 10:18:14 -05:00
Ng Zhi An
56015c01c4
[1.8.x] Fixed #24170 -- Implemented decompress for BaseRangeField widgets
...
Backport of 4669b6a807811d6763b9fdc5df974cb67aa1fb56 from master
2015-01-23 15:07:03 -05:00
Claude Paroz
bc93568500
[1.8.x] Fixed warning leak in static.serve() test
...
Partial forward port of b1bf8d64fb from 1.7.x. Refs #24193 .
2015-01-23 09:05:46 +01:00
Simon Charette
90d9bf5ba4
[1.8.x] Fixed #24186 -- Fixed a typo in the admin docs.
...
Thanks to Keryn Knight for the report.
Backport of dccf41cff0f46a94aa1d853d1bad9052079bb454 from master
2015-01-20 11:56:02 -05:00
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
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
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
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
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
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