Commit Graph

10448 Commits

Author SHA1 Message Date
Rodrigo 4fe0e619e7 Disambiguated "settings" in SpatiaLite note. 2018-01-31 12:20:24 -05:00
Rodrigo 9817add9e0 Doc'd specifying the ENGINE setting as part of configuring contrib.gis. 2018-01-31 12:09:26 -05:00
Rodrigo 7c5cf33127 Fixed location of spatialite_source label. 2018-01-31 11:27:55 -05:00
priyanshsaxena 617d5f410f Fixed #29066 -- Allowed negating query expressions. 2018-01-31 10:54:19 -05:00
Tim Graham 4775dcb521 Renamed the "Supported versions" label. 2018-01-31 10:17:06 -05:00
Tim Graham 0a37ea56d0 Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py.
Regression in aadd3aeb2b.
2018-01-31 09:36:36 -05:00
Tim Graham de59132afc Refs #29071 -- Forwardported 2.0.2/1.11.10 release notes. 2018-01-31 09:29:12 -05:00
Tim Graham c10cb9716f
Refs #29086 -- Doc'd how to detect bytestring mistakes. 2018-01-30 19:58:16 -05:00
Vlastimil Zíma fbc3c29e7c Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the attribute is added by JavaScript.
Thanks Tim Graham for the initial patch.
2018-01-30 19:09:31 -05:00
Jon Dufresne 136bf5c214 Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change. 2018-01-30 10:43:53 -05:00
Christoph Zwerschke d4bbd3f418 Corrected an explanation in tutorial 5. 2018-01-29 12:48:37 -05:00
Tim Graham e6f0e324e2 Fixed #29081 -- Clarified comments in QuerySet.select_related() example. 2018-01-29 11:11:43 -05:00
bquinn c2b969e124 Fixed #29004 -- Added inspectdb --include-views option. 2018-01-27 18:51:40 -05:00
Tim Graham 92f48680db Expanded docs for AbstractBaseUser.has_usable_password(). 2018-01-27 11:03:41 -05:00
Sigurd Ljødal a455e732a0 Fixed #28650 -- Added TruncWeek database function. 2018-01-27 09:59:13 -05:00
Tim Graham f229049d6c
Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe. 2018-01-27 09:40:55 -05:00
Mariusz Felisiak b002a032f9
Fixed #29054 -- Fixed a regression where a queryset that annotates with geometry objects crashes.
Made GEOSGeometryBase hashable.
Regression in 19b2dfd1bf.

Thanks Tim Graham for the review.
2018-01-27 11:12:11 +01:00
Jon Dufresne 3187c89d6f Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True) followed by annotate(). 2018-01-26 09:35:50 -05:00
Senthil cbac11f962 Fixed #28784 -- Clarified how migrate --fake works. 2018-01-24 14:56:40 -05:00
Ashaba 95fd5cf459 Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs. 2018-01-24 13:38:15 -05:00
Grant Jenks d38a3169a4 Fixed #28977 -- Changed local-memory cache to use LRU culling.
LRU culling turns every read into a kind of write to the cache: cache keys
are moved to the first position in the OrderedDict when they are retrieved.
The RWLock which permitted multiple readers while prioritizing a single
writer is obsolete since all accesses are now writes.
2018-01-24 12:26:19 -05:00
Tim Graham 2870879981 Fixed heading level typo in docs/ref/models/database-functions.txt. 2018-01-23 19:48:57 -05:00
Devin Mork 2e625095fe Made instructions for shell launch in tutorial 5 more explicit. 2018-01-23 18:10:59 -05:00
Jon Dufresne 7d607127e3 Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries. 2018-01-23 10:30:10 -05:00
Tim Graham f0f383b635 Fixed "template tag" spelling in docs. 2018-01-23 09:40:18 -05:00
Jon Dufresne ff05de760c Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
Jon Dufresne 4b0f39d9fb Refs #29041 -- Fixed typo in docs/releases/2.1.txt. 2018-01-21 01:41:40 -05:00
Ramiro Morales 37c17846ad Fixed #28343 -- Add an OS chooser for docs command line examples. 2018-01-20 12:38:48 -05:00
Jon Dufresne 47d238b696 Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax. 2018-01-20 11:19:06 -05:00
Chris Jerdonek b98dc1706e Refs #25604 -- Removed docs for makemigrations --exit.
Follow up to e0910dcc92.
2018-01-20 10:44:09 -05:00
Mariusz Felisiak 7fbb1bd00d
Fixed #29032 -- Fixed an example of using expressions in QuerySet.values(). 2018-01-19 08:55:29 +01:00
Tim Graham afd50a3019 Replaced "trunk" with "master branch" in docs. 2018-01-18 16:30:38 -05:00
Jon Dufresne 90ca9412e4 Removed unnecessary microsecond truncation in SplitDateTimeWidget.
The microseconds are already truncated by the TimeInput subwidget.
2018-01-18 11:23:06 -05:00
Mads Jensen 65728550bd Refs #28643 -- Added Replace database function. 2018-01-17 20:46:15 -05:00
Tim Graham b902878fd6 Doc'd the latest state of the Jenkins pull request builders. 2018-01-17 08:48:53 -05:00
Peter Wischer 196c257a23 Fixed typo in docs/topics/i18n/translation.txt. 2018-01-17 08:47:37 +01:00
Karmen 4fcd28d442 Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase. 2018-01-15 10:16:27 -05:00
jaywelborn 56e590cc0b Fixed #28761 -- Documented how an inline formset's prefix works. 2018-01-13 16:20:34 -05:00
Étienne Loks 9a621edf62 Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion. 2018-01-13 10:31:00 -05:00
Tim Graham cea5fe94c6 Added stub release notes for 1.11.10. 2018-01-13 09:18:13 -05:00
Botond Béres 52aa26e697 Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list. 2018-01-12 19:56:16 -05:00
Himanshu Chauhan 1b753b2d60 Fixed #28885 -- Fixed hidden content at the bottom of the "The install worked successfully!" page for some languages. 2018-01-12 19:09:54 -05:00
Tim Graham b9cec9fa1f Fixed #29017 -- Updated BaseCommand.leave_locale_alone doc per refs #24073. 2018-01-12 14:18:32 -05:00
Дилян Палаузов a38ae914d8 Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements. 2018-01-12 12:44:50 -05:00
Tim Graham a8e492bc81
Removed note in tutorial about bypassing manage.py.
This isn't relevant for beginners.
2018-01-11 19:05:59 -05:00
Jon Dufresne 1e81a4b897 Fixed #28638 -- Made allowed_hosts a required argument of is_safe_url(). 2018-01-11 07:03:50 -05:00
Tim Graham 7c00f9fb1c
Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.
2018-01-11 06:48:29 -05:00
Will Ayd 09530e61a0 Fixed #28869 -- Made tagged test classes and methods inherit tags from parents. 2018-01-08 20:57:33 -05:00
Mariusz Felisiak 7c81b28ebc
Updated various links in docs to use HTTPS. 2018-01-07 14:28:41 +01:00
Sergey Fedoseev 762bd34c36 Fixed #28842 -- Added SpatiaLite support for ForcePolygonCW function. 2018-01-06 19:24:44 -05:00
Vasilis Aggelou 777f216d55 Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion. 2018-01-05 18:28:45 -05:00
shanghui 3333d935d2 Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth.
Also fixed #28608 -- Allowed UserCreationForm and UserChangeForm to
work with custom user models.

Thanks Sagar Chalise and Rômulo Collopy for reports, and Tim Graham
and Tim Martin for reviews.
2018-01-05 14:47:37 -05:00
Tim Graham 5d5a2bd299 Confirmed support for PostGIS 2.4. 2018-01-04 17:27:14 -05:00
Claude Paroz b3cd9fb18b Refs #15902 -- Made set_language() view always set the current language in a cookie.
The plan is to later deprecate/remove storing the language in the session.
2018-01-03 11:25:40 -05:00
я котик пур-пур ccc25bfe4f Refs #23919 -- Removed obsolete __init__.py files in management command directories. 2018-01-03 11:02:26 -05:00
shanghui cc6bcc6ff5 Fixed #28867 -- Added system check for a model property that clashes with a related field accessor. 2018-01-03 10:34:31 -05:00
Tim Graham ab7f4c3306 Refs #28965 -- Deprecated unused django.utils.http.cookie_date(). 2018-01-02 11:23:04 -05:00
Alexey 0afffae4ec Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231. 2018-01-02 11:22:59 -05:00
Tim Graham 0f5a741ada Added stub release notes for 2.0.2. 2018-01-01 20:09:48 -05:00
Tim Graham 3ae2bcc768 Added release date for 2.0.1 and 1.11.9. 2018-01-01 19:34:34 -05:00
Sergey Fedoseev 98e78ac754 Bumped minimum supported mysqlclient version to 1.3.7.
Follow up to ad9390bba2.
2017-12-29 11:55:29 -05:00
Mariusz Felisiak 83a36ac49a
Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
Sergey Fedoseev 47aba5ed1f Linked GIS functions docs to corresponding MySQL docs. 2017-12-28 14:21:19 +05:00
Sergey Fedoseev aefe624c62 Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR. 2017-12-27 19:26:14 -05:00
hui shang f1aa58479c Fixed #28714 -- Added system checks for invalid model field names in Meta.indexes.
Thanks Gabriel for the report and Adam Johnson for the review.
2017-12-27 18:56:24 -05:00
Mariusz Felisiak c815213740
Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
Thanks Tim Graham for the review.
2017-12-27 18:38:30 +01:00
Tim Graham 038ea4f859
Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes 2017-12-27 12:23:44 -05:00
Ran Benita c21f158295 Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()). 2017-12-26 11:41:17 -05:00
Tim Graham 6deaddcca3 Fixed #28956 -- Updated admin's jQuery to 3.2.1. 2017-12-26 10:21:05 -05:00
Ramiro Morales e67733aa65 Fixed #28963 -- Raised minimum Sphinx version. 2017-12-25 14:17:09 -03:00
Claude Paroz 23b21db31b Fixed #28594 -- Removed Jython docs and specific code
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-23 10:26:32 +01:00
Cameron Curry 622ead6aaf Fixed #28937 -- Allowed BinaryField to be editable=True. 2017-12-22 16:31:46 -05:00
Simon Charette 9f7772e098 Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.

This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.

Regression in 095c1aaa89.

Thanks Tim for the additional tests and edits, and Mariusz for the review.
2017-12-22 15:19:05 -05:00
Berker Peksag ad9390bba2 Updated documented mysqlclient requirement to 1.3.7.
The test requirement was bumped in
2514e044a7.
2017-12-21 19:13:12 -05:00
Tilmann Becker 01384ce36c Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.
Regression in df41b5a05d.
2017-12-20 20:36:41 -05:00
Tim Graham e7b804c060 Fixed #28941 -- Fixed crash in testserver command startup.
Regression in 2b09e4c88e.
2017-12-20 14:38:06 -05:00
Sergey Fedoseev a7a36bb4d8 Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone. 2017-12-20 10:44:14 -05:00
weijunji 1ef8b30abe Fixed #28929 -- Corrected QUnit examples. 2017-12-18 09:49:00 -10:00
Daniel Hepper 4dcd7723d5 Fixed #28938 -- Corrected Python compatibility in the tutorial. 2017-12-18 08:51:36 -10:00
Sergey Fedoseev 6fd6d8383f Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
This reverts commit a146b65628 and adds
a test for the regression.
2017-12-12 21:57:41 -10:00
Rodrigo Pinheiro Marques de Araújo 30a389bd77 Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields. 2017-12-13 02:39:27 -05:00
Sergey Fedoseev da71e4bb08 Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
Regression in 58da81a5a3.
2017-12-12 17:12:04 -10:00
Morgan Wahl a9e5ac823d Refs #28856 -- Added test for caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
Forwardport of test and release notes of
3522203502 from stable/1.11.x
2017-12-08 14:06:28 -05:00
M Somerville 16bd4964df Fixed #28891 -- Documented Origin's loader attribute. 2017-12-07 12:19:58 -05:00
Sam Collins 2d75e74e18 Fixed typo in docs/ref/contrib/admin/index.txt. 2017-12-07 10:52:46 -05:00
Mohammad Esmaeilbeygi 9d1d0e2b70 Fixed import in docs/ref/models/conditional-expressions.txt example. 2017-12-07 08:57:38 -05:00
Sergey Fedoseev 183fb7b2b9 Fixed #28870 -- Added support for functools.partialmethod serialization in migrations. 2017-12-06 14:49:37 -05:00
Tim Graham 4114b441ee
Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs. 2017-12-06 09:23:42 -05:00
Tim Graham bae365e13c
Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters. 2017-12-06 09:16:32 -05:00
Mariusz Felisiak fc48047586
Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
2017-12-05 21:11:20 +01:00
Mariusz Felisiak f79d9a322c
Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
2017-12-05 21:05:10 +01:00
Claude Paroz f2ec896912 Removed 'development' word in contributing docs 2017-12-05 18:42:37 +01:00
Nick Pope e014f91a70 Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a.
2017-12-05 11:22:36 -05:00
Tim Graham dfeb19121b Added stub release notes for 1.11.9. 2017-12-05 10:54:33 -05:00
Igor Starikov 3cc08f4b2b Fixed typo in docs/ref/models/expressions.txt. 2017-12-05 08:39:57 -05:00
Дилян Палаузов d2afa5eb23 Fixed #28860 -- Removed unnecessary len() calls. 2017-12-04 10:35:23 -05:00
David Szotten bee4c2baed Fixed grammer in docs/releases/2.0.txt. 2017-12-04 08:55:40 -05:00
Sergey Fedoseev 3922f02dc6
Fixed typo in docs/topics/testing/advanced.txt. (#9416) 2017-12-04 14:23:16 +05:00
Tim Graham 450c933fff Added stub release notes for 2.0.1. 2017-12-02 10:41:35 -05:00
Tim Graham 335aad5d91 Added release dates for 2.0 and 1.11.8. 2017-12-02 08:55:33 -05:00