Sergey Fedoseev
f1054d1f1d
[1.9.x] Fixed required SpatiaLite version in docs.
...
Refs bc0aba7786
which dropped
support for SpatiaLite < 2.4.
Backport of 1a10ae45b1
from master
2015-10-29 07:57:56 -04:00
Bryan Marty
44f177b5cd
[1.9.x] Fixed #21516 -- Updated imports paths for some formset functions/classes.
...
Since refs #21489 , FormSet classes and factories are exposed on the
django.forms package.
Backport of 455034d4df
from master
2015-10-28 15:46:45 -04:00
Tim Graham
411b8da362
[1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
...
Backport of 6b5ae92927
from master
2015-10-28 13:51:22 -04:00
Tim Graham
774a893d0b
[1.9.x] Fixed #25618 -- Added a helpful error message when Django & south migrations exist in the same directory.
...
Forwardport of 65bff161ff
from stable/1.8.x
2015-10-28 10:19:35 -04:00
Tim Graham
b49716cd99
[1.9.x] Added "Attributes set by application code" section to HttpRequest.
...
Backport of dc193d0f6d
from master
2015-10-28 09:35:54 -04:00
Simon Charette
da9e9484f2
[1.9.x] Revert "Fixed #25417 -- Added a field check for invalid default values."
...
This reverts commit 71ebcb85b9
.
Backport of 976bd519a8
from master
2015-10-27 11:17:02 -04:00
Tim Graham
64a9115bce
[1.9.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value.
...
Backport of 1f07da3e29
from master
2015-10-27 08:13:21 -04:00
Tim Graham
e764f92cda
[1.9.x] Added Django 1.10 to Python version support table.
...
Backport of 23073f9644
from master
2015-10-26 10:36:44 -04:00
Tim Graham
ec388ee174
[1.9.x] Documented Python 3.5 support for Django 1.8.
...
Forwardport of d27085b02d
from stable/1.8.x
2015-10-26 10:13:50 -04:00
Tim Graham
1a6258c090
[1.9.x] Documented related model descriptor class renames.
...
Renamed in e542e81b39
.
Backport of d6a9074783
from master
2015-10-26 08:54:33 -04:00
Curtis Maloney
bb1b2251ef
[1.9.x] Optimized docs images and documented the process.
...
Backport of 35440ceab7
from master
2015-10-24 14:57:48 -04:00
Tim Graham
96c0ba380d
[1.9.x] Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
...
Thanks Nick Pope for the initial patch.
Backport of 02ef96c5e5
from master
2015-10-24 09:59:27 -04:00
Sergey Fedoseev
e6220b49f5
[1.9.x] Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
...
Backport of 310049a5a
from master.
2015-10-24 10:55:13 +02:00
Jacek Bzdak
488538e55e
[1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
...
Backport of 494b7986a3
from master
2015-10-23 15:24:14 -04:00
薛丞宏
2eab4acb3e
[1.9.x] Clarified that the test client response content attribute is bytes.
...
Backport of 484edc81c1
from master
2015-10-23 14:27:20 -04:00
Claude Paroz
e241444ef5
[1.9.x] Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
...
Fixes a regression from 2bd1bbc42
. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
Backport of c08f85fd54
from master.
2015-10-22 20:33:55 +02:00
Benjamin Wohlwend
c367abb11b
[1.9.x] Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
...
Backport of 2b9eed41fa
from master
2015-10-22 14:11:22 -04:00
Tim Graham
02f3084f4e
[1.9.x] Fixed #25584 -- Documented a pip error when installing Django 1.9.
...
Backport of ee66d8dd7d
from master
2015-10-22 10:09:04 -04:00
Tim Allen
3d192b66a9
[1.9.x] Revised Windows install instructions for Python 3.5.
...
Added instructions for installing virtualenv and virtualenvwrapper.
Backport of 1ce11f6064
from master
2015-10-21 20:27:21 -04:00
Tim Graham
55ed23fd3e
[1.9.x] Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
...
Backport of 80855a4b37
from master
2015-10-21 13:53:48 -04:00
Jacek Bzdak
5a9e93e054
[1.9.x] Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
...
Backport of 32cd706971
from master
2015-10-21 11:46:01 -04:00
Yusuke Miyazaki
a083d70192
[1.9.x] Fixed #25578 -- Corrected the casing of "GitHub".
...
Backport of 230d8c7301
from master
2015-10-21 07:32:28 -04:00
Simon Charette
522b0bc91f
[1.9.x] Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
...
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
Backport of 3db3ab71e9
from master
2015-10-19 20:13:16 -04:00
Josh Smeaton
7a3b486ccd
[1.9.x] Fixed #25517 -- Made Concat function idempotent on SQLite.
...
Backport of 6c95b134e9
from master
2015-10-17 15:56:00 -04:00
Tim Graham
d1ccf7b784
[1.9.x] Forwardported 1.8.6 release note.
2015-10-14 12:24:43 -07:00
Antoine Catton
36e7d275ec
[1.9.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation.
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
Backport of b971c1cd78
from master
2015-10-14 11:24:12 -07:00
Antoine Catton
38d6e1e2ad
[1.9.x] Fixed #25535 -- Made ForeignObject checks less strict.
...
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.
Backport of 80dac8c33e
and
c7aff31397
from master
2015-10-14 05:26:42 -07:00
Sergey Fedoseev
aa0a3b680e
[1.9.x] Fixed quotes in GeoQuerySet aggregates examples.
...
Backport of 92c1ae1b0b
from master
2015-10-13 23:40:31 -04:00
Tim Graham
33c6a8b621
[1.9.x] Fixed typo in docs/ref/models/relations.txt.
...
Backport of f6b9e6bf4f
from master
2015-10-13 04:30:58 -07:00
Claude Paroz
f35b8f8e3f
[1.9.x] Added precision about GeoJSON field outputs
...
Backport of 533c1099
from master.
2015-10-12 21:49:37 +02:00
Claude Paroz
66319cc597
[1.9.x] Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
Backport of 617b1a21f
from master.
2015-10-11 12:25:47 +02:00
Tim Graham
2c11002fec
[1.9.x] Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
...
Backport of 25f287f6b2
from master
2015-10-07 19:36:57 -04:00
Claude Paroz
c894f215e2
[1.9.x] Added some function links in translation docs
...
Backport of 9a6fc9606c
from master.
2015-10-07 17:31:28 +02:00
Mariusz Felisiak
fbe8930745
[1.9.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
...
Backport of 914167abf1
from master
2015-10-06 19:23:53 -04:00
Tim Graham
d81b0812d4
[1.9.x] Fixed #25515 -- Documented the return value of BaseCommand.handle()
...
Backport of 3f766d44c5
from master
2015-10-06 15:09:55 -04:00
Tim Graham
2f9bc99334
[1.9.x] Fixed #25516 -- Documented that parallel test excution doesn't work with pdb.
...
Backport of cb15ceb555
from master
2015-10-06 13:27:50 -04:00
Riccardo Magliocchetti
6f653f759a
[1.9.x] Refs #12118 -- Allowed "mode=memory" in SQLite test database names.
...
Backport of 3543fec3b7
from master
2015-10-06 12:33:21 -04:00
Tim Graham
6bc8bdf55a
[1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
...
Backport of 6afa6818fc
from master
2015-10-05 19:19:09 -04:00
Tim Graham
9f31439e67
[1.9.x] Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes.
...
Backport of b215a3ab63
from master
2015-10-05 14:20:06 -04:00
Tim Graham
9b91c7d99d
[1.9.x] Added stub release notes for 1.8.6.
...
Backport of 58195f0b16
from master
2015-10-03 19:58:32 -04:00
Tim Graham
c5268b1a74
[1.9.x] Added release date for 1.8.5.
...
Backport of 2eb5589a72
from master
2015-10-03 19:35:18 -04:00
Ben Kraft
63a1e912a7
[1.9.x] Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.
...
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8
.
Now it will handle this and other custom `__reduce__` methods correctly.
Backport of 35355a4ffe
from master
2015-10-03 13:01:08 -04:00
Andrew Artajos
0633d2285e
[1.9.x] Fixed #25398 -- Revised instances of os.path.join()
...
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
Backport of d2ef521a53
from master.
2015-10-03 09:09:41 +02:00
John Moses
6a582d35f2
[1.9.x] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
...
Backport of ac09d22f79
from master
2015-10-02 13:00:48 -04:00
Nick Williams
1147b55e8b
[1.9.x] Fixed link to the MySQL Connector/Python Django Backend documentation.
...
Backport of 3f342d74e9
from master
2015-10-02 12:33:23 -04:00
Tim Graham
1084b421f1
[1.9.x] Made a couple tutorial corrections for Django 1.9.
...
Backport of 8a5a002f2f
from master
2015-10-01 15:19:10 -04:00
Tim Graham
05968192f7
[1.9.x] Removed an old note (Django 1.4-era) from the tutorial.
...
Backport of 1515b6a8b3
from master
2015-10-01 14:52:14 -04:00
Tim Graham
3569e9d4a1
[1.9.x] Refs #24505 -- Forwardported 1.8.5 release note.
...
Backport of 061801e3df
from master
2015-09-30 18:47:44 -04:00
David Sanders
d6632f2111
[1.9.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
...
Backport of 5c6316dc34
from master
2015-09-30 08:44:37 -04:00
Tim Graham
00270ec7f8
[1.9.x] Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
...
Backport of b47552b445
from master
2015-09-29 19:40:56 -04:00
Tim Graham
59027a4cae
[1.9.x] Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
...
Thanks Simon Charette for the DeprecationInstanceCheck class.
Backport of 8d1a001ef6
from master
2015-09-29 19:20:11 -04:00
David Sanders
60fe6efe50
[1.9.x] Improved "“standalone” Django usage" example.
...
Backport of ae9f9dc37f
from master
2015-09-29 15:09:28 -04:00
Tim Graham
e21c6f34de
[1.9.x] Fixed #25376 -- Required virtualenv in installation instructions.
...
Thanks Anjul Tyagi for some of the draft text.
Backport of a523d94b45
from master
2015-09-29 14:33:50 -04:00
Tim Graham
0094fb6be8
[1.9.x] Documented auth's login/logout function parameters.
...
Backport of c14b6b52ff
from master
2015-09-28 14:12:32 -04:00
Tim Graham
76aa4cc8a2
[1.9.x] Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
...
Backport of 4cd2bdae07
from master
2015-09-28 07:26:51 -04:00
Mariusz Felisiak
6a0b4faf43
[1.9.x] Fixed #25421 -- Fixed test --keepdb option on Oracle.
...
Backport of a3a6def867
from master
2015-09-26 19:52:06 -04:00
Rob Hudson
bc4ae0f5eb
[1.9.x] Corrected use of 'affect' vs 'effect' in docs.
...
Backport of 021782d22b
from master
2015-09-25 18:35:16 -04:00
Tim Graham
260e9f15fe
[1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
...
Backport of de99f558d8
from master
2015-09-25 15:36:05 -04:00
Tim Graham
f2f4f1cfff
[1.9.x] Fixed #25451 -- Added advice about organizing tests.
...
Backport of 53e89ce2e7
from master
2015-09-25 07:15:50 -04:00
Tim Graham
ca2c5508be
[1.9.x] Fixed #25455 -- Optimized dictfetchall() example.
...
Thanks aklim007 for the suggestion.
Backport of 361f60479d
from master
2015-09-24 13:19:17 -04:00
Tim Graham
a2cf430c80
[1.9.x] Bumped latest Python 2.7 release in docs/ref/databases.txt.
...
Backport of ce531f7ad7
from master
2015-09-24 10:56:56 -04:00
Samir Shah
eae5f738ba
[1.9.x] Fixed typo in 1.9 release notes.
...
Backport of dfa81bb1df
from master
2015-09-24 08:02:06 -04:00
Tim Graham
478d3af000
[1.9.x] Bumped django_next_version in docs config.
2015-09-23 19:36:23 -04:00
Tim Graham
e3f9b0e329
Updated man page for Django 1.9 alpha.
2015-09-23 19:28:55 -04:00
Tim Graham
2634f606d5
Fixed #25386 -- Warned about differences between Engine and DjangoTemplates.
2015-09-23 19:16:16 -04:00
Claude Paroz
135a9e4fd9
Added some more links in form field docs
2015-09-23 22:01:31 +02:00
Don Kirkby
dcd7358afd
Fixed typo in docs/topics/db/examples/one_to_one.txt
2015-09-23 13:31:14 -04:00
Tim Graham
b1f6046066
Refs #25373 -- Doc'd logging of exceptions during {% include %} rendering.
2015-09-23 11:48:09 -04:00
Tim Graham
6b37719616
Refs #24526 -- Made the django logger handle INFO messages.
...
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
2015-09-23 11:33:49 -04:00
Tim Graham
0e723ead52
Refs #21927 -- Added examples to urls.include() changes in 1.9 release notes.
2015-09-23 09:32:35 -04:00
Henry Jordan
af95eee9fb
Fixed #25447 -- Emphasized the need to restart dev server when adding template tags.
2015-09-22 19:37:57 -04:00
Tim Graham
cb1e779ceb
Refs #24115 -- Added docs for password updates on bcrypt rounds change.
2015-09-22 19:30:31 -04:00
Alex Hill
134ca4d438
Fixed #24509 -- Added Expression support to SQLInsertCompiler
2015-09-22 23:35:24 +10:00
Rik
6e51d5d0e5
Added link to Babel's message extracting functionality.
2015-09-22 08:54:24 -04:00
Aymeric Augustin
94a36cfd8c
Recommended against default_app_config.
...
Most likely this is a losing fight -- people seem to love this small
convention -- but at least the reasons for avoiding it will be
documented.
Refs #25356 .
2015-09-22 08:31:50 +02:00
Nick Johnson
392f64842f
Fixed #25373 -- Added warning logging for exceptions during {% include %} tag rendering.
2015-09-21 19:57:12 -04:00
Tim Graham
4b1416d372
Added "readded" to the docs wordlist.
2015-09-21 17:07:32 -04:00
Aymeric Augustin
91e9f1c972
Fixed #24921 -- set_autocommit(False) + ORM queries.
...
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.
The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.
This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
2015-09-21 22:21:53 +02:00
ramez
1335aa2fb9
Fixed #15760 -- Added JavaScript events for admin inline forms.
2015-09-21 15:34:44 -04:00
Claude Paroz
65a1055a36
Fixed #25431 -- Readded inline foreign keys to modelformset instances
...
Too much field exclusions in form's construct_instance() in _post_clean()
could lead to some unexpected missing ForeignKey values.
Fixes a regression from 45e049937
. Refs #13776 .
2015-09-21 21:30:49 +02:00
Alasdair Nicol
fe3fc5210f
Fixed #23813 -- Added checks for common URL pattern errors
...
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah
for their reviews.
2015-09-21 23:46:21 +10:00
Moritz Sichert
2f53d342f1
Fixed #12856 -- Documented BoundField API.
2015-09-21 08:42:14 -04:00
Josh Smeaton
534aaf56f4
Fixed #24629 -- Unified Transform and Expression APIs
2015-09-21 19:56:24 +10:00
Tim Graham
00adec6d5f
Refs #25135 -- Corrected the timeline section of allow_tags deprecation.
2015-09-19 20:36:39 -04:00
Tim Graham
ebaa24f588
Removed unused sections in 1.9 release notes.
2015-09-19 20:18:42 -04:00
Tim Graham
bed83e0fb5
Alphabetized a few sections in the 1.9 release notes + made a few tweaks.
2015-09-19 20:15:39 -04:00
Flavio Curella
95edabb45e
Fixed #25430 -- Fixed incorrect RunSQL examples.
2015-09-19 18:11:43 -04:00
Aymeric Augustin
c3904deb91
Fixed #25160 (again) -- Moved data loss check on reverse relations.
...
Moved data loss check when assigning to a reverse one-to-one relation on
an unsaved instance to Model.save(). This is exactly the same change as
e4b813c
but for reverse relations.
2015-09-19 20:27:53 +02:00
Markus Holtermann
43f2eb7ef3
Fixed #25390 -- Allowed specifying a start migration in squashmigrations
...
Thanks Tim Graham for the review.
2015-09-19 14:55:34 +10:00
Markus Holtermann
5aa55038ca
Fixed #24743 , #24745 -- Optimized migration plan handling
...
The change partly goes back to the old behavior for forwards migrations
which should reduce the amount of memory consumption (#24745 ). However,
by the way the current state computation is done (there is no
`state_backwards` on a migration class) this change cannot be applied to
backwards migrations. Hence rolling back migrations still requires the
precomputation and storage of the intermediate migration states.
This improvement also implies that Django does not handle mixed
migration plans anymore. Mixed plans consist of a list of migrations
where some are being applied and others are being unapplied.
Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well
as everybody involved on the ticket that kept me looking into the issue.
2015-09-19 14:54:53 +10:00
fabrizio ettore messina
186eb21dc1
Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.
2015-09-18 19:04:29 -04:00
sujayskumar
d8d853378b
Fixed #24944 -- Added extra_email_context parameter to password_reset() view.
2015-09-18 18:56:04 -04:00
Unai Zalakain
aac2a2d2ae
Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
...
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.
The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
Simon Charette
71ebcb85b9
Fixed #25417 -- Added a field check for invalid default values.
2015-09-18 14:31:36 -04:00
Iulia Chiriac
75ed590032
Fixed #24636 -- Added model field validation for decimal places and max digits.
2015-09-18 14:30:20 -04:00
Mariusz Felisiak
6f1b09bb5c
Made assorted improvements to the Oracle documentation.
2015-09-18 09:47:32 -04:00
Tim Graham
d074926ca1
Dropped support for Oracle 11.1.
2015-09-18 09:18:09 -04:00
Tom Christie
b02f08e02c
Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.
2015-09-18 07:44:39 -04:00
Aric Coady
f33b3ebd53
Refs #20625 -- Forwardported tests and release notes for queryset chaining fix.
...
The issue was fixed on master due to the removal of ValuesQuerySet.
Partial forwardport of 7d471fe662
from stable/1.8.x
2015-09-17 19:22:53 -04:00
Tim Graham
abd33d80db
Removed obsolete pysqlite documentation.
...
These steps are no longer needed as of pysqlite 2.7.0.
76f34850be
2015-09-17 18:41:37 -04:00