Commit Graph

3724 Commits

Author SHA1 Message Date
Tim Graham 44a6c27fd4 Fixed -- Removed inaccurate docs about QuerySet.order_by() and joins.
As of ccbba98131, both examples don't use
a join.
2017-09-06 19:21:38 -04:00
Sergey Fedoseev f3c9562143 Fixed -- Allowed QuerySet.values_list() to return a namedtuple. 2017-09-06 15:32:32 -04:00
François Freitag ad4a8acdb5 Fixed -- Added support for a list of fields in Meta.get_latest_by and QuerySet.earliest()/latest(). 2017-09-05 20:14:54 -04:00
Dima Kudosh 093fd479d6 Fixed -- Allowed query expressions in Meta.ordering. 2017-09-05 19:10:20 -04:00
Mads Jensen f4135783ad Fixed -- Added GistIndex to contrib.postgres.
Thanks to Marc Tamlyn for the initial patch.
2017-09-04 21:08:02 -04:00
Michael 3f2b1d926b Fixed -- Fixed typo in docs/ref/models/database-functions.txt.
And made an example use naming consistent with the rest of the doc.
2017-09-04 14:40:56 -04:00
Tim Graham 2fc5a5bfe3 Removed stray versionadded/changed annotations for 1.10. 2017-09-02 21:47:01 -04:00
Simon Meers 60443e84b3 Fixed -- Documented ModelAdmin.lookup_allowed(). 2017-09-02 13:54:33 -04:00
Nick Pope 11f4c52ec7 Fixed -- Documented GDAL and GeoIP exceptions. 2017-09-02 09:10:18 -04:00
Tim Graham 6e4a34580d Fixed -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name in docs. 2017-09-01 20:03:32 -04:00
Nick Pope cbb27d603b Reordered GeoIP docs be consistent with GDAL/GEOS ordering. 2017-09-01 09:48:25 -04:00
Nick Pope 49017dc13a Made GeoIP docs headers consistent with other GIS docs. 2017-09-01 09:44:41 -04:00
jkrzy 20a761697f Fixed -- Doc'd staticfiles runserver bypasses middleware when serving static files. 2017-08-30 16:40:19 -04:00
Jkrzy da3a5cee4f Fixed -- Replaced 'middlewares' with 'middleware' in docs. 2017-08-30 06:25:51 -04:00
Claude Paroz 3c0b2b80ed Fixed -- Fixed typo in PostgreSQL field docs
Thanks Andreas Poisel for the report.
2017-08-26 10:20:01 +02:00
Sergey Fedoseev a493424352 Removed unused reference in docs/ref/utils.txt.
Unused since f6acd1d271.
2017-08-16 18:42:37 +05:00
Mathieu Hinderyckx cf5740fbc8 Clarified Concat example in docs. 2017-08-14 14:28:05 -04:00
Alejandro Zamora 90d7b912b9 Fixed -- Added ProhibitNullCharactersValidator and used it on CharField form field. 2017-08-12 20:14:14 -04:00
Tom b78d100fa6 Fixed -- Added filtering support to aggregates. 2017-08-12 17:58:28 -04:00
Bryan Helmig 68f0bcb012 Made the @cached_property example more consistent. 2017-08-11 09:51:49 -04:00
Tim Graham d18227e341 Fixed -- Clarified that Meta.indexes is preferred to index_together. 2017-08-08 09:20:42 -04:00
Tim Graham 50a97edc1a Fixed -- Clarified the definition of a lazy relationship. 2017-08-07 15:51:46 -04:00
Tim Graham 14172cf442 Fixed -- Clarified what characters ASCII/UnicodeUsernameValidator accept. 2017-07-27 08:42:01 -04:00
Melvyn Sopacua 5bb9b9a388 Fixed -- Allowed naming the migration generated by squashmigrations. 2017-07-26 13:47:35 -04:00
Sergey Fedoseev f3bada9889 Fixed -- Added support for distance lookups on MySQL. 2017-07-26 08:50:56 -04:00
Tim Graham c7d58c6f43 Fixed -- Removed inaccurate warning about SECURE_HSTS_PRELOAD. 2017-07-25 15:12:50 -04:00
Tom Carrick 3159ad4df6 Fixed -- Allowed QuerySet.in_bulk() to fetch on fields besides primary key. 2017-07-21 08:34:35 -04:00
Tim Graham 487362fa8f Fixed -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306f.
2017-07-20 16:30:08 -04:00
Tomer Chachamu 62917cee5a Doc'd the need to remove default ordering on Subquery aggregates. 2017-07-18 08:48:25 -04:00
Tim Graham 259875535b Removed unneeded right quotes in docs to fix spelling errors.
A regression in pyenchant caused a problem:
https://github.com/rfk/pyenchant/issues/93
2017-07-18 08:24:49 -04:00
jmk 841b464883 Fixed 403 link in docs/ref/contrib/gis/install/spatialite.txt. 2017-07-17 12:26:11 -04:00
Florian Apolloner adab280cef Fixed -- Fixed QuerySet.count() for union(), difference(), and intersection() queries. 2017-07-15 08:20:12 -04:00
Tim Graham 2457c1866e Refs -- Corrected another QuerySet.values_list() return type in docs example. 2017-07-11 14:22:46 -04:00
Irindu Indeera babe9e64a6 Fixed -- Corrected QuerySet.values_list() return type in docs examples. 2017-07-11 14:15:17 -04:00
Bruno Alla 604341c85f Fixed -- Added ContextMixin.extra_context to allowing passing context in as_view(). 2017-07-06 10:34:54 -04:00
Matthew Schinckel 493f7e9e1e Fixed -- Added support for PostgreSQL's interval format to parse_duration(). 2017-07-03 19:53:19 -04:00
Ran Benita b9f7dce84b Fixed -- Added FOR UPDATE OF support to QuerySet.select_for_update(). 2017-06-29 16:00:15 -04:00
Daniel Hahler 43a4835edf Fixed -- Added DurationField support to Extract. 2017-06-28 10:10:09 -04:00
Mike Vasiliou 63e9a71ec4 Fixed -- Doc'd request/args/kwargs attributes of class-based views. 2017-06-28 09:19:52 -04:00
Laura e58c87cb70 Fixed -- Fixed typo in docs/ref/settings.txt. 2017-06-27 21:41:10 -04:00
Mariusz Felisiak 3297dede7f Fixed -- Added the db_tablespace parameter to class-based indexes.
Thanks Markus Holtermann and Tim Graham for reviews.
2017-06-27 21:15:15 +02:00
Mariusz Felisiak 617505ca89 Fixed -- Prevented passing positional arguments to an Index.
Thanks Tim Graham for the review.
2017-06-27 13:39:37 -04:00
michaldabski d381914aef Fixed -- Added model name max length check of 100 characters in contrib.contentttypes. 2017-06-26 18:12:35 -04:00
Sergey Fedoseev 44a7b98abb Fixed -- Made MySQL backend raise exception if spatial transformation is needed for query. 2017-06-26 15:10:55 -04:00
Sergey Fedoseev 964e490847 Fixed GEOSGeometry reference in GIS tutorial. 2017-06-26 15:10:07 -04:00
Flávio Juvenal 0af14b2eaa Refs -- Doc'd that CSRF protection requires the Referer header. 2017-06-22 11:50:00 -04:00
aruseni ad524980ac Fixed typo in docs/ref/request-response.txt. 2017-06-20 11:22:26 -04:00
Mads Jensen de42adf4ff Fixed -- Added fastupdate and gin_pending_list_limit params to GinIndex.
Thanks Tim Graham and Markus Holtermann for review.
2017-06-20 10:54:39 -04:00
Marti Raudsepp fda55c71a8 Fixed -- Prevented read-only management commands from creating the django_migrations table.
MigrationRecorder now assumes that if the django_migrations table
doesn't exist, then no migrations are applied.

Reverted documentation change from refs .
2017-06-19 13:04:57 -04:00
François Freitag 4f1eb64ad0 Fixed -- Doc'd behavior of PostgreSQL when manually setting AutoField. 2017-06-19 08:59:16 -04:00