1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

3629 Commits

Author SHA1 Message Date
Claude Paroz
13c3e5d5a0 Fixed -- Added an encoder option to JSONField
Thanks Berker Peksag and Tim Graham for the reviews.
2016-08-25 21:42:42 +02:00
Berker Peksag
426bca002c Fixed -- Corrected an admin check to require inlines to subclass InlineModelAdmin. 2016-08-24 17:34:32 -04:00
Mattias Loverot
9aaeec337e Fixed -- Added format_lazy function
Added format_lazy function to django.utils.text module.
Useful when dealing with relative complex lazy string concatenations
(e.g. in urls.py when translating urls in regular expressions).
2016-08-24 18:18:17 +02:00
Collin Anderson
384f89f8f8 Fixed -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
This partially reverts 983c158da7723eb00a376bd31db76709da4d0260
2016-08-23 16:00:12 -04:00
Chris Jerdonek
a3db480393 Fixed -- Added a TEST['TEMPLATE'] setting for PostgreSQL. 2016-08-23 15:08:20 -04:00
Abhishek Bera
f3b601f11a Fixed -- Documented using QuerySet.get() without arguments. 2016-08-19 17:15:33 -04:00
Tim Graham
f8c338ec6a Refs -- Completed a RequestContext docs example. 2016-08-18 21:11:27 -04:00
Jon Dufresne
f5c6d3c8d9 Fixed -- Unified form field initial data retrieval. 2016-08-18 17:55:47 -07:00
Ian Foote
39f35d4b9d Fixed -- Added expressions support to QuerySet.values(). 2016-08-18 16:05:15 -04:00
Kevin Christopher Henry
ff445f4c19 Fixed -- Clarified model usage in AppConfig.ready(). 2016-08-17 10:34:51 -04:00
Jon Dufresne
4773ed2e31 Fixed incorrect doc reference to Field.initial. 2016-08-17 10:27:33 -04:00
Akshesh
7c9bd07f69 Clarified when activating the btree_gin extension is necessary. 2016-08-16 09:03:13 -04:00
Victor Oliveira da Silva
d7804662f8 Made cosmetic edits to Field.default docs. 2016-08-15 10:44:39 -04:00
Chris Jerdonek
5890b1613c Fixed -- Added --debug-mode option to DiscoverRunner. 2016-08-12 20:43:17 -04:00
Tim Graham
9556005425 Fixed -- Documented that refresh_from_db() doesn't reload @cached_properties. 2016-08-12 18:49:21 -04:00
Akshesh
6e07ec3f65 Fixed -- Added contrib.postgres.indexes.GinIndex. 2016-08-12 18:37:03 -04:00
Akshesh
236baa0f0e Refs -- Added BtreeGinExtension operation. 2016-08-12 18:37:00 -04:00
Tim Graham
e1acc9dc66 Removed some unnecessary repetition in PostgreSQL operations docs. 2016-08-12 18:03:19 -04:00
Akshesh
311a8e8d50 Fixed -- Added support for column order in class-based indexes. 2016-08-12 15:52:16 -04:00
Tim Graham
6b83f61e72 Fixed -- Corrected django.setup()'s parameter name in docs. 2016-08-11 07:01:55 -04:00
Ed Morley
7399fee6c3 Refs -- Added a deployment system check for SECURE_HSTS_PRELOAD. 2016-08-10 20:31:01 -04:00
Ed Morley
3c2447dd13 Fixed -- Added an option to enable the HSTS header preload directive. 2016-08-10 20:23:54 -04:00
Sergey Fedoseev
0d18b06562 Documented GeoHash's precision parameter. 2016-08-10 16:32:08 -04:00
Claude Paroz
ade681b9ad Unified SpatiaLite spelling 2016-08-09 18:46:28 +02:00
Ed Morley
8c3bc5cd78 Fixed docs to refer to HSTS includeSubdomains as a directive.
The spec refers to it as a 'directive' rather than a 'tag':
https://tools.ietf.org/html/rfc6797#section-6.1.2
2016-08-08 20:20:49 -04:00
Simon Charette
b8e6e1b43b
Fixed -- Added SKIP LOCKED support to select_for_update().
Thanks Tim for the review.
2016-08-08 12:01:43 -04:00
Johannes Dollinger
46509cf13d Moved EmpytResultSet to django.core.exceptions.
This removes the need for some inner imports.
2016-08-08 10:43:34 -04:00
Claude Paroz
1b0287b4b8 Fixed typos in db-api GIS docs 2016-08-08 15:16:28 +02:00
Akshesh
6a8372e6ec Fixed -- Added Meta.indexes for class-based indexes.
* Added the index name to its deconstruction.
* Added indexes to sqlite3.schema._remake_table() so that indexes
  aren't dropped when _remake_table() is called.

Thanks timgraham & MarkusH for review and advice.
2016-08-05 18:12:51 -04:00
Yoong Kang Lim
d30febb4e5 Fixed -- Made RelatedManager modification methods clear prefetch_related() cache. 2016-08-05 13:32:27 -04:00
Jon Dufresne
50e299dbfb Fixed -- Changed forms' checked attribute to HTML5 boolean style. 2016-08-04 19:16:54 -04:00
Jon Dufresne
ac3aaaa740 Fixed -- Made subwidget iteration pass disabled and required attributes. 2016-08-01 10:36:17 -04:00
Ana Balica
36fbf9b7d1 Removed unnecessary 'just' from docs/ref/templates/api.txt. 2016-07-30 09:26:54 -04:00
Tim Graham
ec4a6b33a9 Fixed -- Clarified instructions for customizing collectstatic's ignore_patterns. 2016-07-25 10:05:40 -04:00
Tim Graham
3aaf6cf0f3 Fixed -- Linked aggregation ordering topic from Meta.ordering docs. 2016-07-25 06:21:39 -04:00
petedmarsh
7bf3ba0d0c Fixed -- Documented why RawSQL params is a required parameter. 2016-07-21 10:28:31 -04:00
Tim Graham
a05d86a69a Fixed -- Clarified source of pre/post_save update_fields argument. 2016-07-21 10:06:41 -04:00
Claude Paroz
255fb99284 Fixed -- Added password reset/change class-based views
Thanks Tim Graham for the review.
2016-07-16 10:36:12 +02:00
Tim Graham
ba246bd5fe Fixed inconsistent indentation in docs/ref/models/options.txt 2016-07-15 13:42:37 -04:00
Tim Graham
944e66cb1d Reverted "Fixed -- Added an option to allow disabling of migrations during test database creation"
This reverts commit 157d7f1f1de4705daddebb77f21bd7097a74513d since it
disables migrations all the time, not just during tests.
2016-07-14 09:21:28 -04:00
Tom Carrick
46e2010460 Fixed typos in docs/ref/contrib/postgres/search.txt 2016-07-14 07:52:47 -04:00
Anderson Resende
ba53da894f Fixed -- Added a system check for m2m fields with ignored limit_choices_to. 2016-07-08 19:37:40 -04:00
Simon Charette
8a4f017f45 Fixed -- Added TruncTime and exposed it through the __time lookup.
Thanks Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
082c52dbed Refs , -- Allowed Trunc functions to operate with time fields.
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
90468079ec Refs -- Adjusted datetime database function docs field names. 2016-07-08 12:35:34 -04:00
Sean Marlow
8b9e16ec85 Fixed -- Documented ModelMultipleChoiceField.to_field_name 2016-07-08 11:30:12 -04:00
Akshesh
3551fb537f Refs -- Documented SchemaEditor.add/remove_index(). 2016-07-07 10:21:25 -04:00
Akshesh
b1e7d19d4c Refs -- Required a name for Indexes passed to AddIndex.
Thanks to Markush for discussions.
2016-07-07 07:31:23 -04:00
Mathieu Richardoz
f1af076fba Fixed a typo in docs/ref/contrib/postgres/search.txt. 2016-07-07 07:06:17 -04:00
Tim Graham
415ae960bb Fixed capitalization of "URL pattern". 2016-07-06 15:31:12 -04:00