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
Simon Charette
095c1aaa89
Fixed #28849 -- Fixed referenced table and column rename on SQLite.
...
Thanks Ramiro for the input and Tim for the review.
2017-12-01 22:12:24 -05:00
Tim Graham
c3e0adcad8
Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
...
Regression in 45ded053b1
.
2017-12-01 19:07:46 -05:00
Simon Charette
e50add6ca1
Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
...
Regression in b9f8635f58
.
2017-11-30 09:28:44 -05:00
Mads Jensen
f0a68c2511
Fixed #28702 -- Made query lookups for CIText fields use citext.
2017-11-29 10:35:37 -05:00
Jon Dufresne
7a6fbf36b1
Fixed #28853 -- Updated connection.cursor() uses to use a context manager.
2017-11-28 11:28:09 -05:00
Raphael Michel
616f468760
Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
2017-11-27 11:35:44 -05:00
Mariusz Felisiak
fc22a0a214
Removed unused words from docs/spelling_wordlist.
2017-11-24 07:53:40 -05:00
Luke Plant
e283c1a267
Linked to prefetch_related_objects func in DB optimization docs.
2017-11-23 21:26:39 +03:00
Hyunwoo Park
3f237c1a5b
Fixed typo in docs/topics/forms/media.txt.
2017-11-22 07:26:18 -05:00
Frédéric Massart
a5f1e5809f
Clarified who the AdminEmailHandler emails.
2017-11-21 11:49:15 -05:00
Dražen Odobašić
d97f026a7a
Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
2017-11-21 10:33:56 -05:00
Krzysztof Nazarewski
244cc40155
Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
...
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-18 19:33:52 -05:00
Chris Lamb
3af305e8b8
Fixed #28810 -- Replaced '%' style logging formatting with str.format() style.
2017-11-18 19:15:08 -05:00
Benjamin Bach
bf49d9eb0b
Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
2017-11-17 17:30:21 -05:00
Tim Graham
d392fc293c
Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
2017-11-16 10:37:50 -05:00
Tim Graham
6bf85ff7e3
Fixed #28796 -- Doc'd backwards incompatibility when reverse() receives bytestring args/kwargs.
...
Due to 301de774c2
.
2017-11-16 09:07:50 -05:00
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