Simon Charette
ee85ef8315
Fixed #28792 -- Fixed index name truncation of namespaced tables.
...
Refs #27458 , #27843 .
Thanks Tim and Mariusz for the review.
2017-11-14 21:36:25 -05:00
Tim Graham
bc95314ca6
Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
2017-11-14 12:01:24 -05:00
Mariusz Felisiak
2d3cc94284
Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
...
Thanks Tim Graham for the review.
2017-11-12 14:28:11 +01:00
Tim Graham
8f8a4d10d3
Refs #26447 -- Removed outdated ETag comment in CommonMiddleware.
...
Follow up to 48d57788ee
.
2017-11-11 20:45:17 -05:00
Tim Graham
abaf0ab4a4
Fixed #28777 -- Clarified the docs for admin.register's args.
2017-11-09 21:21:43 -05:00
shanghui
359370a8b8
Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
...
Regression in e0a3d93730
.
Thanks Guilherme Junqueira for the report and Tim Graham for the review.
2017-11-08 09:39:12 -05:00
Jonas Haag
a2851f204c
Fixed #28720 -- Added HttpRequest.get_full_path_info().
2017-11-07 15:58:05 -05:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Chris Lamb
998c9dd599
Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
2017-11-07 11:39:59 -05:00
Tim Graham
00b93c2b1e
Fixed typo in docs/topics/db/aggregation.txt.
2017-11-07 09:03:01 -05:00
Дилян Палаузов
6c0042430e
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
2017-11-06 22:41:03 -05:00
Tim Graham
5587485d49
Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
2017-11-06 13:12:14 -05:00
Sergey Fedoseev
8869142a4d
Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes.
2017-11-04 10:50:28 -04:00
Tom
b81905bfd4
Fixed #28571 -- Added a prompt to bypass password validation in createsuperuser.
2017-11-03 20:00:08 -04:00
Tim Graham
ef718a72b3
Added stub release notes for 1.11.8.
2017-11-01 21:33:51 -04:00
Tim Graham
5f5425f74e
Added release date for 1.11.7.
2017-11-01 21:11:38 -04:00
Tim Graham
c70086473e
Fixed #28759 -- Promoted the contributing guide in the docs for the django-developers mailing list.
2017-11-01 20:35:31 -04:00
Sam Morrow
dcc0427c58
Fixed #28745 -- Added first and last page links to paginator docs example.
2017-11-01 20:10:54 -04:00
Tim Graham
6e8508734b
Described how querysets are protected from SQL injection in more detail.
2017-11-01 11:34:17 -04:00
Tim Graham
1e7dbbdec5
Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
...
Thanks Hynek Cernoch for the report and review.
2017-11-01 11:34:06 -04:00
Adam Johnson
629dde8db1
Made assorted edits to docs/releases/2.0.txt.
2017-11-01 11:22:44 -04:00
Tim Graham
7945bc1d08
Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
...
Follow up to fee42fd99e
.
2017-11-01 11:11:12 -04:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
2017-11-01 10:57:59 -04:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
Adam Johnson
f8946fbb5d
Removed docs for obsolete compatibility checks.
2017-10-30 12:39:42 -04:00
Ran Benita
03049fb8d9
Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
...
Thanks Adam Chidlow for polishing the patch.
2017-10-28 20:33:42 -04:00
Botond Beres
56b364bacc
Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms.
2017-10-28 13:08:10 -04:00
Botond Beres
51d7feff87
Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable.
2017-10-28 12:15:07 -04:00
Samir Shah
6c98c5abdf
Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
...
Follow up to ad393beeb7
.
2017-10-28 07:48:31 -04:00
Botond Beres
ec5f7cb92e
Fixed typo in docs/ref/models/querysets.txt.
2017-10-25 19:03:21 -04:00
Botond Beres
95a14cfc47
Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
2017-10-25 18:46:25 -04:00
Srinivas Reddy Thatiparthy
55b5393bd2
Fixed #28474 -- Made DurationField raise ValidationError for inputs that raised OverflowError.
2017-10-25 18:05:13 -04:00
Mariusz Felisiak
81e357a7e1
Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.
...
Regression in f48bc7c3db
.
2017-10-25 21:52:38 +02:00
Tim Graham
171c7cc863
Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
...
Thanks Tom Aratyn for the report.
2017-10-25 12:46:12 -04:00
Tim Graham
3642c3758b
Suggested LoginView rather than @login_required as an alternative to authenticate().
2017-10-25 11:17:17 -04:00
Ryan Verner
9473a8481a
Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict.
2017-10-25 10:07:37 -04:00
Tomer Chachamu
21a3a29dc9
Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last.
2017-10-21 20:55:45 -04:00
Tim Graham
1a82fc245e
Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted.
2017-10-20 14:52:48 -04:00
Tim Graham
eb9b56c5b6
Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
2017-10-20 14:00:51 -04:00
Flávio Juvenal
f6e1789654
Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults.
2017-10-20 13:17:22 -04:00
Collin Stedman
4a861e8850
Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure.
2017-10-18 20:38:30 -04:00
Jozef
3bd69b1261
Fixed typo in docs/ref/models/querysets.txt.
2017-10-17 10:07:20 -04:00
Simon Willison
346eb32861
Made SearchQuery examples less sterotyped.
2017-10-17 09:29:47 -04:00
Simon Meers
f771b24f00
Fixed typos in docs/releases/2.0.txt.
2017-10-17 07:49:33 -04:00
k
399a8db33b
Fixed #28695 -- Allowed models to use __init_subclass__().
2017-10-13 21:29:12 -04:00
Claude Paroz
8c538871bd
Fixed #28710 -- Fixed the Basque DATE_FORMAT string
...
Thanks Eneko Illarramendi for the report and initial patch.
2017-10-13 19:48:20 +02:00
Mariusz Felisiak
ad8036d715
Refs #28643 -- Reorganized database functions docs.
...
Thanks Tim Graham for the review.
2017-10-13 18:20:11 +02:00
LeeHanYeong
3ffbd54566
Removed incorrect reference to ModelChoiceField in Field.choices docs.
2017-10-13 10:37:04 -04:00
Tim Graham
0edff2107f
Refs #28248 -- Clarified the precision of PASSWORD_RESET_TIMEOUT_DAYS.
2017-10-12 14:58:18 -04:00
Daniel Tao
4d60261b2a
Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None.
2017-10-10 09:20:34 -04:00
Mads Jensen
22ff4f81b1
Fixed #28423 -- Expanded docs for indexing contrib.postgres fields.
2017-10-09 12:19:08 -04:00
Tim Graham
50de55f399
Moved link in "Features removed in 2.0" to be more specific.
2017-10-09 09:39:57 -04:00
François Freitag
e3a30f2d16
Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.
...
Follow up to fee42fd99e
.
2017-10-09 08:54:44 -04:00
Simon Charette
9d93dff333
Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249.
2017-10-06 12:47:08 -04:00
Tim Graham
fd4698fe3f
Added stub release notes for 1.11.7.
2017-10-05 14:44:50 -04:00
Tim Graham
a8bcb8b509
Added release date for 1.11.6.
2017-10-05 14:13:32 -04:00
Tim Graham
27193aea00
Fixed #28584 -- Dropped support for SQLite < 3.7.15.
2017-10-03 10:42:18 -04:00
Tim Graham
491eb56fd4
Refs #28677 -- Doc'd that on_delete is required in migrations.
2017-10-03 09:46:15 -04:00
Tim Graham
fd866c25d1
Fixed #28654 -- Dropped support for SpatiaLite 4.0.
2017-09-30 14:13:18 -04:00
Stefan Schneider
08c8c3ead9
Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
2017-09-29 11:38:28 -04:00
Stefan Schneider
293df73fb6
Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt.
2017-09-29 10:31:49 -04:00
Michael Käufl
259fec8de0
Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt.
2017-09-29 08:50:22 -04:00
Jon Ribbens
44f08422c8
Fixed #28625 -- Distinguished DATABASES['TIME_ZONE'] from settings.TIME_ZONE.
2017-09-28 09:42:08 -04:00
Tim Graham
1d8cfa3608
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
...
Thanks Simon Charette for the introspection changes.
2017-09-27 11:00:04 -04:00
Flávio Juvenal
ea7ca5db30
Doc'd contrib.postgres system checks.
2017-09-27 10:58:48 -04:00
Miguel
4a908c0cd2
Clarified StrIndex docs example.
2017-09-27 09:08:50 -04:00
Tim Graham
cfff2af02b
Fixed #27857 -- Dropped support for Python 3.4.
2017-09-25 17:11:03 -04:00
Tim Graham
8a1768432b
Fixed #28552 -- Dropped support for MySQL 5.5.
2017-09-25 14:48:11 -04:00
Christopher Schäpers
6da140724d
Fixed #28627 -- Added slug converter to some path() examples in docs.
2017-09-25 13:06:11 -04:00
Tim Graham
67a6ba391b
Reverted "Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS."
...
This reverts commit 95993a89ce
.
2017-09-25 09:05:00 -04:00
Tim Graham
d90936f41a
Refs #27788 -- Corrected minimum supported Oracle version in GIS docs.
2017-09-22 15:09:37 -04:00
Tim Graham
4a461d49c7
Advanced deprecation warnings for Django 2.1.
2017-09-22 12:51:19 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Tim Graham
2bd207ada0
Refs #15667 -- Removed support for Widget.render() methods without the renderer argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
ba42456c2e
Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
5bcca2a056
Refs #27532 -- Removed Model._meta.has_auto_field per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
48d57788ee
Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
4502489a46
Refs #18974 -- Removed @models.permalink() decorator per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
5e31be1b96
Refs #25187 -- Required the authenticate() method of authentication backends to have request as the first positional argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
578711c310
Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e62165b898
Refs #27175 -- Removed exception silencing from the {% include %} template tag.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
96107e2844
Refs #26956 -- Removed the host parameter of django.utils.http.is_safe_url().
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e47b56d791
Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS'].
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
87d2240e6c
Refs #27067 -- Removed django.utils.translation.string_concat() per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
9463a7a8cd
Refs #26840 -- Removed django.test.runner.setup_databases() per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
6e40b70bf4
Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_then_login().
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
4f313e284e
Refs #17209 -- Removed login/logout and password reset/change function-based views.
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
deb592b3e3
Added stub 2.1 release notes.
2017-09-22 12:51:17 -04:00
Tim Graham
92fad87958
Bumped version; master is now 2.1 pre-alpha.
2017-09-22 12:51:17 -04:00
Tim Graham
559040f3d3
Removed empty sections in 2.0 release notes.
2017-09-22 12:49:37 -04:00
Tim Graham
3926d5d406
Updated man page for Django 2.0 alpha.
2017-09-22 12:28:56 -04:00
Nicolas Delaby
01d440fa1e
Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support.
...
Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22 11:53:17 -04:00
Shai Berger
d612026c37
Refs #28595 -- Added a hook to add execute wrappers for database queries.
...
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak,
Michael Manfre, and Tim Graham for discussion and review.
2017-09-21 12:13:09 -04:00
Niall Dalton
4fe6588da3
Fixed #28576 -- Added color interpretation method to GDALBand.
2017-09-21 09:42:38 -04:00
Sjoerd Job Postmus
df41b5a05d
Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
...
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Florian Apolloner
c4c128d67c
Fixed #28488 -- Reallowed error handlers to access CSRF tokens.
...
Regression in eef95ea96f
.
2017-09-20 16:22:18 -04:00
Tim Graham
f86aa6656a
Fixed typo in docs/internals/deprecation.txt.
2017-09-19 10:09:01 -04:00
Johannes Hoppe
f13bd32110
Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs.
2017-09-19 08:51:46 -04:00
tk
e7adad27f3
Fixed typo in docs/topics/cache.txt.
2017-09-19 06:52:01 -04:00
Mariusz Felisiak
fb02ebe889
Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary key in an Index's fields.
2017-09-18 14:06:00 -04:00