Tim Graham
e5ab75d2fd
Refs #25618 -- Forwardported 1.8.6 release note.
...
Forwardport of 65bff161ff
from stable/1.8.x
2015-10-28 10:20:26 -04:00
Tim Graham
dc193d0f6d
Added "Attributes set by application code" section to HttpRequest.
2015-10-28 09:26:23 -04:00
Simon Charette
976bd519a8
Revert "Fixed #25417 -- Added a field check for invalid default values."
...
This reverts commit 71ebcb85b9
.
2015-10-27 11:02:35 -04:00
Tim Graham
1f07da3e29
Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value.
2015-10-27 08:11:11 -04:00
Tim Graham
9c5e272860
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
2015-10-27 07:57:15 -04:00
Tim Graham
23073f9644
Added Django 1.10 to Python version support table.
2015-10-26 10:28:53 -04:00
Tim Graham
1ce8512c87
Documented Python 3.5 support for Django 1.8.
...
Forwardport of d27085b02d
from stable/1.8.x
2015-10-26 10:13:22 -04:00
Tim Graham
e0c0080e29
Fixed typo in docs/ref/contrib/admin/index.txt
2015-10-26 09:03:04 -04:00
Tim Graham
d6a9074783
Documented related model descriptor class renames.
...
Renamed in e542e81b39
.
2015-10-26 08:51:09 -04:00
Curtis Maloney
35440ceab7
Optimized docs images and documented the process.
2015-10-24 14:57:21 -04:00
Jon Dufresne
3c7d2ee881
Fixed #25604 -- Added makemigrations --check option.
...
Command exits with non-zero status if changes without migrations exist.
2015-10-24 14:45:00 -04:00
Sergey Fedoseev
a7bb5af50b
Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid.
2015-10-24 11:39:24 -04:00
Tim Graham
02ef96c5e5
Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
...
Thanks Nick Pope for the initial patch.
2015-10-24 09:46:22 -04:00
Sergey Fedoseev
310049a5ae
Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
2015-10-24 10:53:48 +02:00
Jacek Bzdak
494b7986a3
Fixed #25397 -- Documented class-based view context variable clash with context processors.
2015-10-23 15:18:39 -04:00
薛丞宏
484edc81c1
Clarified that the test client response content attribute is bytes.
2015-10-23 14:26:19 -04:00
Tim Graham
f242ad27a4
Added "subpath" to spelling wordlist.
2015-10-22 15:01:33 -04:00
Claude Paroz
c08f85fd54
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.
2015-10-22 20:32:31 +02:00
Benjamin Wohlwend
2b9eed41fa
Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
2015-10-22 14:10:56 -04:00
Dheerendra Rathor
59e85f09c6
Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
...
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -04:00
Tim Graham
ee66d8dd7d
Fixed #25584 -- Documented a pip error when installing Django 1.9.
2015-10-22 09:53:46 -04:00
Tim Allen
1ce11f6064
Revised Windows install instructions for Python 3.5.
...
Added instructions for installing virtualenv and virtualenvwrapper.
2015-10-21 20:25:57 -04:00
Tim Graham
80855a4b37
Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
2015-10-21 13:50:48 -04:00
Jacek Bzdak
32cd706971
Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
2015-10-21 11:43:45 -04:00
Jon Dufresne
05248a1009
Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse.
2015-10-21 10:42:29 -04:00
Yusuke Miyazaki
230d8c7301
Fixed #25578 -- Corrected the casing of "GitHub".
2015-10-21 07:31:11 -04:00
Andrew Artajos
48888a1a67
Fixed #25501 -- Made the file-based cache backend use the highest pickling protocol.
2015-10-20 13:05:33 -04:00
Tim Graham
541aa2434d
Removed "how to release Django" steps for 1.4 (no longer supported).
2015-10-19 21:01:28 -04:00
Simon Charette
3db3ab71e9
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.
2015-10-19 20:11:32 -04:00
Aymeric Augustin
df0a446fd4
Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
...
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case
2015-10-18 10:34:04 +02:00
Josh Smeaton
6c95b134e9
Fixed #25517 -- Made Concat function idempotent on SQLite.
2015-10-17 15:51:04 -04:00
Tim Graham
4cc6f8b764
Forwardported 1.8.6 release note.
2015-10-14 12:22:53 -07:00
Antoine Catton
b971c1cd78
Fixed #25506 -- Allowed filtering over a RawSQL annotation.
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2015-10-14 11:13:58 -07:00
Tim Graham
c7aff31397
Refs #25535 -- Minor edits to ForeignObject check changes.
2015-10-14 05:21:08 -07:00
Sergey Fedoseev
92c1ae1b0b
Fixed quotes in GeoQuerySet aggregates examples.
2015-10-13 23:39:29 -04:00
Tim Graham
f6b9e6bf4f
Fixed typo in docs/ref/models/relations.txt.
2015-10-13 04:24:22 -07:00
Claude Paroz
533c10998a
Added precision about GeoJSON field outputs
2015-10-12 21:48:29 +02:00
Simon Charette
5b980897f2
Refs #18012 -- Made proxy and concrete model reverse fields consistent.
...
Prior to this change proxy models reverse fields didn't include the
reverse fields pointing to their concrete model.
2015-10-12 12:14:27 -04:00
Simon Charette
6c9f37ea9e
Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models.
...
Thanks to Anssi for the review.
2015-10-12 12:14:26 -04:00
Idan Gazit
c8f091f5bc
Updated stale links.
2015-10-12 14:24:27 +03:00
Claude Paroz
617b1a21f5
Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Tim Graham
67732a9b18
Fixed #24687 -- Added select_related() validation for nested non-relational fields.
...
The removed test was added in the original select_related() validation
patch (45d4e43d2d
), but there doesn't
seem to be any reason for it.
Thanks Claude Paroz for help and review.
2015-10-10 09:48:50 -04:00
Tim Graham
49320c2b1f
Fixed typo in docs/releases/1.10.txt.
2015-10-09 21:09:25 -04:00
Claude Paroz
37d06cfc46
Fixed #25499 -- Added the ability to pass an expression in distance lookups
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Tim Graham
25f287f6b2
Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
2015-10-07 19:35:18 -04:00
Claude Paroz
9a6fc9606c
Added some function links in translation docs
2015-10-07 17:25:23 +02:00
Mariusz Felisiak
914167abf1
Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
2015-10-06 19:22:37 -04:00
Tim Graham
3f766d44c5
Fixed #25515 -- Documented the return value of BaseCommand.handle()
2015-10-06 15:08:15 -04:00
Tim Graham
cb15ceb555
Fixed #25516 -- Documented that parallel test excution doesn't work with pdb.
2015-10-06 13:25:14 -04:00
Tim Graham
e0837f2cb1
Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.
2015-10-06 12:38:34 -04:00
Riccardo Magliocchetti
3543fec3b7
Refs #12118 -- Allowed "mode=memory" in SQLite test database names.
2015-10-06 12:32:05 -04:00
Tim Graham
6afa6818fc
Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
2015-10-05 18:21:56 -04:00
Jon Dufresne
2875325889
Fixed #25500 -- Added --fail-level option to check command.
...
This option specifies the level that check command exits with a
non-zero status. Default is ``ERROR``.
2015-10-05 17:11:40 -04:00
Tim Graham
b215a3ab63
Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes.
2015-10-05 14:19:23 -04:00
John Moses
2b6344e944
Fixed #25037 -- Added request.user to the debug view.
2015-10-05 09:36:42 -04:00
Tim Graham
58195f0b16
Added stub release notes for 1.8.6.
2015-10-03 19:58:02 -04:00
Tim Graham
2eb5589a72
Added release date for 1.8.5.
2015-10-03 19:31:45 -04:00
Ben Kraft
35355a4ffe
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.
2015-10-03 13:00:37 -04:00
Aleksandra Tarkowska
c055224763
Fixed #22938 -- Allowed clearsessions to remove file-based sessions.
2015-10-03 09:21:10 -04:00
Claude Paroz
41ed6338a4
Upgraded OpenLayers version from 2.13 to 2.13.1
...
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos
d2ef521a53
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')
2015-10-03 09:07:25 +02:00
John Moses
ac09d22f79
Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
2015-10-02 12:52:14 -04:00
Nick Williams
3f342d74e9
Fixed link to the MySQL Connector/Python Django Backend documentation.
2015-10-02 12:31:53 -04:00
Kaleb Elwert
adcf823359
Fixed #25490 -- Made the logout() view send "no-cache" headers.
2015-10-02 12:29:54 -04:00
Tim Graham
8a5a002f2f
Made a couple tutorial corrections for Django 1.9.
2015-10-01 15:18:43 -04:00
Tim Graham
1515b6a8b3
Removed an old note (Django 1.4-era) from the tutorial.
2015-10-01 14:51:22 -04:00
Tim Graham
061801e3df
Refs #24505 -- Forwardported 1.8.5 release note.
2015-09-30 18:46:11 -04:00
David Sanders
5c6316dc34
Clarified that Model.delete() isn't called as a result of a cascading delete.
2015-09-30 08:44:04 -04:00
Tim Graham
b47552b445
Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
2015-09-29 19:40:35 -04:00
Tim Graham
8d1a001ef6
Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
...
Thanks Simon Charette for the DeprecationInstanceCheck class.
2015-09-29 18:31:11 -04:00
David Sanders
ae9f9dc37f
Improved "“standalone” Django usage" example.
2015-09-29 15:00:54 -04:00
Tim Graham
a523d94b45
Fixed #25376 -- Required virtualenv in installation instructions.
...
Thanks Anjul Tyagi for some of the draft text.
2015-09-29 14:30:46 -04:00
Tim Graham
c14b6b52ff
Documented auth's login/logout function parameters.
2015-09-28 14:11:54 -04:00
Tim Graham
4cd2bdae07
Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
2015-09-28 07:20:46 -04:00
Claude Paroz
b7ade64529
Fixed #25468 -- Made DjangoJSONEncoder lazy string aware
...
Thanks Stavros Korokithakis for the report and Tim Graham for the
review.
2015-09-27 22:37:27 +02:00
Mariusz Felisiak
a3a6def867
Fixed #25421 -- Fixed test --keepdb option on Oracle.
2015-09-26 19:51:15 -04:00
Rob Hudson
021782d22b
Corrected use of 'affect' vs 'effect' in docs.
2015-09-25 18:34:29 -04:00
Tim Graham
de99f558d8
Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
2015-09-25 13:28:12 -04:00
Tim Graham
53e89ce2e7
Fixed #25451 -- Added advice about organizing tests.
2015-09-25 07:15:19 -04:00
Tim Graham
361f60479d
Fixed #25455 -- Optimized dictfetchall() example.
...
Thanks aklim007 for the suggestion.
2015-09-24 13:17:39 -04:00
Tim Graham
ce531f7ad7
Bumped latest Python 2.7 release in docs/ref/databases.txt.
2015-09-24 10:51:04 -04:00
Samir Shah
dfa81bb1df
Fixed typo in 1.9 release notes.
2015-09-24 08:01:08 -04:00
Tim Graham
593c9eb660
Increased the default PBKDF2 iterations for the 1.10 release cycle.
2015-09-23 19:31:11 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
9af3c6b9ce
Made template response APIs enforce the use of dict and backend-specific template objects.
...
Per deprecation timeline; refs 79deb6a071
.
2015-09-23 19:31:11 -04:00
Tim Graham
4811f09fa3
Removed template.loader.BaseLoader per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
2a20ebe6a5
Removed deprecated TEMPLATE_* settings per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
9023696613
Removed dictionary and context_instance parameters for render functions.
...
Per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
b3641512c8
Removed dirs parameter in template engine methods and related funtions.
...
Per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
5e450c52aa
Removed current_app argument to render() and TemplateResponse().
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
75374d3797
Refs #24099 -- Removed compatibility shim for ContentType.name field.
2015-09-23 19:31:10 -04:00
Tim Graham
491de4f07c
Refs #23656 -- Required FormMixin.get_form() form_class parameter to be optional.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
849037af36
Refs #23957 -- Required session verification per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
5d383549ee
Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
b6ea1961eb
Refs #23151 -- Removed RegexField.error_message per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
b4002a2143
Refs #22835 -- Removed NoArgsCommand per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
6eed9ae747
Refs #24133 -- Removed legacy formatting syntax in success_url placeholders.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
b6e6fcf326
Refs #23359 -- Removed the migrate --list option per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
f1761e3fef
Refs #21648 -- Removed is_admin_site option from password_reset() view.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
1bb6ecf6d3
Refs #9893 -- Removed shims for lack of max_length support in file storage per deprecation timeline.
2015-09-23 19:31:10 -04:00