Commit Graph

8658 Commits

Author SHA1 Message Date
Alex Morozov 5abed864ee Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does. 2015-11-17 10:16:29 -05:00
Tim Graham 02d974ceb5 Fixed typo in docs/releases/1.9.txt. 2015-11-16 19:34:12 -05:00
Tim Graham c315f96024 Removed a docs workaround for an old Sphinx version. 2015-11-16 18:49:32 -05:00
Tim Graham a80d70dd10 Refs #23751 -- Added some unicode characters to the latex preamble.
Thanks Graham Wideman for the patch.
2015-11-16 18:49:32 -05:00
Tim Graham e48a5b5a03 Fixed #23751 -- Fixed code snippet formatting in docs PDF.
Thanks Graham Wideman for the patch.
2015-11-16 18:49:31 -05:00
Tim Graham 101dbeb673 Corrected outdated information in submitting patches guide. 2015-11-16 09:59:56 -05:00
Mikey Ariel c9432c44fb Changed section title from "Model syntax" to "Introduction to models". 2015-11-16 09:53:57 -05:00
Tim Graham 21c82646fe Documented how to see the full traceback of a test failure. 2015-11-16 09:12:26 -05:00
Agnieszka Lasyk 1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
René Fleschenberg 2c72710111 Fixed #25531 -- Documented that admin_order_field supports lookups. 2015-11-14 17:31:21 -05:00
Tim Graham 931b946e29 Fixed typo in docs/ref/migration-operations.txt. 2015-11-14 17:19:45 -05:00
Tim Graham 6c01010de6 Added technical board for 1.10 release cycle. 2015-11-14 15:55:28 -05:00
Florian Demmer 25b912abbe Fixed #17686, refs #17816 -- Added "Files" section to Unicode topic.
Thanks Fako Berkers for help with the patch.
2015-11-14 12:01:51 -05:00
Dmitry Dygalo 263b3d2ba1 Fixed #25666 -- Fixed the exact lookup of ArrayField. 2015-11-14 11:21:16 -05:00
arniu b8f78823ee Made doc icon's edges smooth. 2015-11-14 08:11:47 -05:00
Tim Graham f85e3cb7cb Updated release checksums template. 2015-11-13 09:05:10 -05:00
Tom Christie a32538279c Tweaked example text in docs/ref/templates/builtins.txt. 2015-11-13 07:38:40 -05:00
Anderson Resende ce4914eab4 Fixed #25744 -- Corrected reference to User object in auth docs. 2015-11-12 19:22:30 -05:00
Aaron Elliot Ross 19a5f6da32 Fixed #25469 -- Added autoescape option to DjangoTemplates backend.
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12 19:14:23 -05:00
Tim Graham a8f05f405f Replaced "inbuilt" with more common "built-in". 2015-11-12 17:29:03 -05:00
Bryan Marty 9788625277 Fixed #25169 -- Documented stacking of permission_required and login_required. 2015-11-12 14:23:59 -05:00
Tim Graham 91a431f48c Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
Thanks Josh, Anssi, and Carl for reviews and advice.
2015-11-12 12:29:59 -05:00
Tim Graham 34bb6c0cb7 Refs #24937 -- Forwardport of 1.8.7 release note.
Forwardport of 3ded51bcf2 from stable/1.8.x
2015-11-11 16:58:47 -05:00
Neal Todd 74365585e2 Fixed #25732 -- Updated template system design philosophy.
Removed the bit about not allowing assignment to variables
because simple_tag now allows this.
2015-11-11 11:49:51 -05:00
arniu cb32292176 Made doc icons background transparent. 2015-11-11 11:37:28 -05:00
Sergey Fedoseev 34669ea6b8 Fixed #25728 -- Fixed description of GEOSGeometry.contains(). 2015-11-11 09:34:58 -05:00
Marti Raudsepp d3e3703a15 Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.
2015-11-11 08:56:10 -05:00
Tim Graham 4c593eaa5f Updated six to 1.10.0. 2015-11-10 22:05:48 -05:00
Tim Graham e0de82c9b2 Fixed #25727 -- Added a doc link to cached_property. 2015-11-10 13:28:14 -05:00
Ian Foote 4608573788 Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
Thanks to Jamie Matthews for finding and explaining the bug.
2015-11-10 12:12:07 -05:00
Tim Graham dbbae2cead Refs #25618 -- Forwardported 1.8.7 release note.
Forwardport of 8c8a6d8a3f from stable/1.8.x
2015-11-10 10:42:32 -05:00
Tim Graham bc6eaca304 Removed obsolete note about installing psycopg2 on Windows.
psycopg2 now publishes binary wheel files for Windows
so you can install it using pip.
2015-11-10 09:59:23 -05:00
Marti Raudsepp 1155843a41 Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
This fixes a regression from refs #25496.
2015-11-09 12:42:36 -05:00
Tim Graham c6da4b0c68 Refs #25686 -- Forwardported 1.8.7 release note. 2015-11-09 10:58:48 -05:00
Aymeric Augustin 1014ba026e Fixed debug view crash during autumn DST change.
This only happens if USE_TZ = False and pytz is installed (perhaps not
the most logical combination, but who am I to jugde?)

Refs #23714 which essentially fixed the same problem when USE_TZ = True.

Thanks Florian and Carl for insisting until I wrote a complete patch.
2015-11-07 23:17:33 +01:00
Thijs van Dien 1679472165 Fixed #25473 -- Changed underscores in url() names to dashes in docs.
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.

Thanks guettli for reporting this.
2015-11-07 21:58:45 +01:00
j0hnsmith 0115f9faa5 Fixed #25692 -- Added natural keys support to Site model. 2015-11-07 21:19:25 +01:00
Tim Graham 81006b9657 Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests. 2015-11-07 20:27:46 +01:00
Attila Tovt ac750dbbc0 Fixed #25681 -- Added 'default' to DATABASES example. 2015-11-07 11:09:31 +01:00
Sergey Fedoseev f98126a05a Fixed #25660 -- Documented GEOSGeometry.dims 2015-11-05 10:33:25 +01:00
Alex Morozov 99c58c27d5 Fixed #24244 -- Documented contrib.admin.models.LogEntry 2015-11-05 09:47:18 +01:00
Tim Graham d49b36e485 Added stub release notes for 1.8.7. 2015-11-05 09:22:12 +01:00
Tim Graham dacec66c79 Added release date for 1.8.6. 2015-11-04 17:48:49 +01:00
Tim Graham 4dea29ec7b Updated admindocs instructions for the deprecation of patterns(). 2015-11-03 14:43:30 +00:00
Alex Morozov 4373eac998 Fixed #25132 -- Documented how to retrieve a single value using values_list() and get(). 2015-11-03 12:23:45 +00:00
Tim Graham ebd26bf5a5 Removed an extra heading in the 1.10 release notes. 2015-11-03 12:02:25 +00:00
japrogramer a10cbbbc17 Fixed typo in docs/topics/auth/default.txt. 2015-11-03 08:56:23 +00:00
Sergey Fedoseev 0a26121797 Refs #25629 -- Added `arity` class attribute to `Func` expressions 2015-11-02 20:09:21 +01:00
Sergey Fedoseev 7127eb287f Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functions
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-02 19:25:53 +01:00
Sergey Fedoseev b78226cd3d Fixed #25655 -- Dropped support for GEOS < 3.3 2015-11-01 20:41:52 +01:00
Sergey Fedoseev 5ce84b8044 Refs #25632 -- Corrected database support docs for GeoDjango DB functions. 2015-10-31 10:22:32 -04:00
Sergey Fedoseev cdb17dcb64 Refs #25636 -- Updated instructions for libspatialite source installation 2015-10-31 14:22:34 +01:00
Sergey Fedoseev 8ad923b9d0 Fixed #25636 -- Dropped support for SpatiaLite < 3.0 2015-10-31 14:22:34 +01:00
Tomasz Anielak b67502fb8d Fixed typo in docs/topics/db/models.txt. 2015-10-31 08:53:00 -04:00
Bryan Marty ad67fcdf51 Fixed #24212 -- Added example pylibmc CACHES configuration. 2015-10-30 13:45:07 -04:00
bee_keeper a17216646a Added class-based view example to RequestFactory example. 2015-10-30 13:13:51 -04:00
Tim Graham e19bd086d6 Fixed #24019 -- Fixed inaccurate docs about GenericRelation not supporting aggregation.
This works at least as far back as Django 1.6 according to the test
added in refs #10870.
2015-10-30 10:35:03 -04:00
Tim Graham 81b55fb900 Fixed #25100 -- Documented an upgrade caveat for contenttypes migration. 2015-10-30 10:30:19 -04:00
Tim Graham 69239c0f96 Fixed #21422 -- Documented that prefetch_related() results must be homogeneous. 2015-10-30 10:26:54 -04:00
Sergey Fedoseev 9ae8da0e37 Fixed #25641 -- Removed section about adding Google projection to spatial_ref_sys table 2015-10-30 10:05:48 +01:00
Tim Graham 8c5b8018f6 Fixed #23985 -- Documented a backwards incompatible change in URLValidator. 2015-10-29 18:03:38 -04:00
Tim Graham abf5ccc29c Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions. 2015-10-29 17:28:37 -04:00
Claude Paroz 7d81ee6efc Fixed #16734 -- Set script prefix even outside of requests
Thanks Tim Graham for the review.
2015-10-29 20:12:38 +01:00
Simon Charette 9dcfecb7c6 Fixed #25622 -- Accounted for generic relations in the admin to field validation
Thanks to Jonathan Liuti for the report and Tim Graham for the review.
2015-10-29 13:13:19 -04:00
Dheerendra Rathor 96fe90f535 Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section. 2015-10-29 10:59:22 -04:00
Tim Graham 15ef1dd478 Fixed #20846 -- Increased User.username max_length to 254 characters.
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-10-29 08:58:49 -04:00
Sergey Fedoseev 0bd067d095 Fixed #25632 -- Documented missing version requirements for GeoDjango DB functions. 2015-10-29 08:36:10 -04:00
Sergey Fedoseev 1a10ae45b1 Fixed required SpatiaLite version in docs.
Refs bc0aba7786 which dropped
support for SpatiaLite < 2.4.
2015-10-29 07:57:12 -04:00
Bryan Marty 455034d4df Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Tim Graham 6b5ae92927 Made LiveServerTestCase example use StaticLiveServerTestCase. 2015-10-28 13:50:56 -04:00
Claude Paroz 40a2262506 Added versionadded directive for GDALRaster.srid
Complement to 48548d1a47.
2015-10-28 15:35:23 +01:00
Daniel Wiesmann 48548d1a47 Refs #25588 -- Added the srid property to GDALRaster
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
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