Commit Graph

3352 Commits

Author SHA1 Message Date
Claude Paroz 1b0287b4b8 Fixed typos in db-api GIS docs 2016-08-08 15:16:28 +02:00
Akshesh 6a8372e6ec Fixed #26808 -- 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 #26706 -- Made RelatedManager modification methods clear prefetch_related() cache. 2016-08-05 13:32:27 -04:00
Jon Dufresne 50e299dbfb Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style. 2016-08-04 19:16:54 -04:00
Jon Dufresne ac3aaaa740 Fixed #26927 -- 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 #26946 -- Clarified instructions for customizing collectstatic's ignore_patterns. 2016-07-25 10:05:40 -04:00
Tim Graham 3aaf6cf0f3 Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs. 2016-07-25 06:21:39 -04:00
petedmarsh 7bf3ba0d0c Fixed #26899 -- Documented why RawSQL params is a required parameter. 2016-07-21 10:28:31 -04:00
Tim Graham a05d86a69a Fixed #26918 -- Clarified source of pre/post_save update_fields argument. 2016-07-21 10:06:41 -04:00
Claude Paroz 255fb99284 Fixed #17209 -- 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 #25388 -- Added an option to allow disabling of migrations during test database creation"
This reverts commit 157d7f1f1d 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 #26796 -- Added a system check for m2m fields with ignored limit_choices_to. 2016-07-08 19:37:40 -04:00
Simon Charette 8a4f017f45 Fixed #26348 -- 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 #25774, #26348 -- 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 #25774 -- Adjusted datetime database function docs field names. 2016-07-08 12:35:34 -04:00
Sean Marlow 8b9e16ec85 Fixed #26837 -- Documented ModelMultipleChoiceField.to_field_name 2016-07-08 11:30:12 -04:00
Akshesh 3551fb537f Refs #26709 -- Documented SchemaEditor.add/remove_index(). 2016-07-07 10:21:25 -04:00
Akshesh b1e7d19d4c Refs #26709 -- 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
Romain Garrigues 8be84e2ac4 Fixed #25461 -- Corrected meta API code examples to account for MTI.
In the case of multiple-table inheritance models, get_all_related_objects() and
get_all_related_objects_with_model() don't return the auto-created
OneToOneField, but the new examples didn't account for this.
2016-07-06 09:28:37 -04:00
Berker Peksag 12b4280444 Fixed #21548 -- Added FileExtensionValidator and validate_image_file_extension. 2016-06-30 09:08:50 -04:00
Tim Graham c9d0a0f7f4 Fixed #26002 -- Explained ModelAdmin.get_search_results() example. 2016-06-30 09:00:10 -04:00
Tsering fc4b4fd585 Refs #23386 -- Documented that F() expressions are applied on each model.save() 2016-06-28 16:24:56 -04:00
Camilo Nova 222e1334bf Used strict comparison in docs/ref/csrf.txt's JavaScript. 2016-06-28 12:51:51 -04:00
Akshesh 156e2d59cf Fixed #26709 -- Added class-based indexes.
Added the AddIndex and RemoveIndex operations to use them in migrations.

Thanks markush, mjtamlyn, timgraham, and charettes for review and advice.
2016-06-27 10:41:01 -04:00
Anderson Resende 2032bcf182 Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt. 2016-06-27 09:06:54 -04:00
Claude Paroz 9588718cd4 Fixed #5897 -- Added the Content-Length response header in CommonMiddleware
Thanks Tim Graham for the review.
2016-06-27 10:44:57 +02:00
Claude Paroz 78963495d0 Refs #17209 -- Added LoginView and LogoutView class-based views
Thanks Tim Graham for the review.
2016-06-24 10:45:13 +02:00
Tim Graham 81cdcb66bc Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0. 2016-06-23 12:04:05 -04:00
jasisz b5a1c3a6f5 Fixed #25920 -- Added support for non-uniform NUMBER_GROUPING. 2016-06-22 17:28:49 -04:00
Sergey Fedoseev 5ce660cd65 Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml(). 2016-06-21 15:46:27 -04:00
Tim Graham 20d1cb33c2 Fixed #26787 -- Documented deleting and reloading of model instance fields.
Thanks Julien Hartmann for the report.
2016-06-21 14:39:17 -04:00
Andrew Nester a12826bba7 Fixed #26776 -- Documented url()'s view argument. 2016-06-20 11:53:29 -04:00
Tobias McNulty 17e661641d Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Claude Paroz f7a363ee1d Fixed #26753 -- Made GDAL a required dependency for contrib.gis
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Krzysztof Jurewicz 6dd4d2709b Fixed #26774 -- Corrected value of default_zoom in GeoModelAdmin doc 2016-06-17 14:01:13 +02:00
Ville Skyttä 96f97691ad Fixed broken links in docs and comments. 2016-06-15 21:20:23 -04:00
Sergey Fedoseev db613f4f12 Refs #14030 -- Updated docs per "Improved expression support for python values."
Complements e2d6e14662.
2016-06-15 10:34:15 -04:00
Tim Graham abec15ad81 Removed nonexistent attribute in docs/ref/contrib/admin/index.txt 2016-06-15 08:31:38 -04:00
Ville Skyttä 7003174fec Fixed #26754 -- Documented django.template.context_processors.tz 2016-06-14 11:57:17 +02:00
Jon Dufresne 267dc4addd Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.
Previously, empty values were saved as strings.
2016-06-13 09:14:36 -04:00
Berker Peksag 0bce2f102c Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names. 2016-06-10 10:57:22 -04:00
Michal Petrucha 686a593aaa Fixed #26648 -- Added a system check for invalid related_query_name's containing underscores. 2016-06-09 11:57:32 -04:00
Berker Peksag ae2a7da86b Fixed #20468 -- Added loaddata --exclude option.
Thanks Alex Morozov for the initial patch.
2016-06-09 10:35:32 -04:00
Sergey Fedoseev 21130ce1a9 Fixed #26718 -- Added system check for existence of the fields specified by ForeignKey.to_field. 2016-06-09 10:19:09 -04:00
Tommy Beadle 729b9452b1 Fixed #26704 -- Documented DjangoJSONEncoder. 2016-06-07 14:53:19 -04:00