Commit Graph

8566 Commits

Author SHA1 Message Date
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
Tim Graham 6a70cb5397 Refs #19973 -- Removed optparse support in management commands per deprecation timeline. 2015-09-23 19:31:10 -04:00
Tim Graham 1392aff440 Refs #21977 -- Removed SimpleTestCase.urls per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 222d063301 Refs #23269 -- Removed the removetags template tag and related functions per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 785cc71d5b Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham d79122f40b Refs #23276 -- Removed passing views as strings to url() per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham a25d3ce007 Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 9a3dfa2a52 Refs #23261 -- Removed old style list syntax for unordered_list filter
Per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham 27b2321793 Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 04ee4059d7 Refs #24022 -- Removed the ssi tag per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 3af9b70028 Refs #22789 -- Removed contrib.webdesign per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham c64dd646f5 Refs #12663 -- Removed deprecated Model._meta methods. 2015-09-23 19:31:09 -04:00
Tim Graham 08ab262649 Removed SubfieldBase per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham 4fd264b6f1 Refs #24351 -- Removed support for the old allow_migrate() signature per deprecation timeline. 2015-09-23 19:31:09 -04:00
Tim Graham c4e2e9de1f Added stub 1.10 release notes. 2015-09-23 19:31:08 -04:00
Tim Graham a1058e8d7c Bumped version; master is now 1.10 pre-alpha. 2015-09-23 19:31:08 -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