1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
Commit Graph

25085 Commits

Author SHA1 Message Date
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
Tim Baxter
73241132f2 Refs #28457 -- Removed unused .next-step CSS in django/views/templates/default_urlconf.html. 2017-10-28 07:59:59 -04:00
Tim Baxter
f6b5cecc71 Refs #28457 -- Updated the colors of the 'Congrats' page for WCAG AA compliance. 2017-10-28 07:57:27 -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
Duarte Fernandes
019c2600a6 Fixed #28747 -- Fixed typos in django/conf/global_settings.py comments. 2017-10-26 21: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
medmunds
d1317edad0 Fixed #28739 -- Fixed get_fixed_timezone() for negative timedeltas. 2017-10-24 21:27:53 -04:00
Tim Graham
3576bfe07c Added a link in README.rst for people new to IRC. 2017-10-24 13:59:17 -04:00
Scot Hacker
6642a646f0 Fixed #28735 -- Fixed typo in django/views/templates/default_urlconf.html. 2017-10-24 11:17:47 -04:00
Tim Graham
8b9a163afa Refs #28688 -- Updated a selenium test for admin's URLify.js change.
English words aren't removed if non-ASCII chars are present.
2017-10-24 11:03:36 -04:00
Jon Dufresne
6ed347d851 Fixed #28706 -- Moved AuthenticationFormn invalid login ValidationError to a method for reuse. 2017-10-23 09:10:45 -04:00
Tim Graham
7fb913c805 Removed Python 2 comment in ValidationError. 2017-10-23 08:56:41 -04:00
Claude Paroz
68407e3545 Refs #14807 -- Removed unneeded mark_safe call 2017-10-22 12:10:27 +02:00
Tomer Chachamu
21a3a29dc9 Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last. 2017-10-21 20:55:45 -04:00
Levi Payne
6c3104221b Refs #28721 -- Added test for variations of 'inf'/'infinity' as a template variable names.
Fixed by 9ec7d8e514.
2017-10-21 20:55:26 -04:00
Claude Paroz
9ec7d8e514 Fixed #28730 -- Fixed loss of precision for large integer literals in templates
Thanks Fraser Nevett for the report and Tim Graham for patch edits.
2017-10-21 17:20:29 +02:00
Mads Jensen
45d5d2dcaa Removed unnecessary tuple()/list() calls. 2017-10-21 09:42:25 -04:00
Mariusz Felisiak
0f722d865e Removed redundant inner imports. 2017-10-20 18:30:41 -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
Lucas Connors
5ceaf14686 Fixed #27515 -- Made AuthenticationForm's username field use the max_length from the model field.
Thanks Ramin Farajpour Cami for the report.
2017-10-20 11:13:26 -04:00
Lucas Connors
d233391208 Refs #19130 -- Added a test for AuthenticationForm.username max_length.
This will be a more useful regression test after refs #27515.
2017-10-20 11:10:32 -04:00
Mads Jensen
5114669f72 Refs #24031 -- Added test for Case and When constructor arguments. 2017-10-20 10:15:11 -04:00
Mads Jensen
f7036b3e26 Fixed #28662 -- Silenced join template filter error if arg isn't iterable. 2017-10-20 09:46:31 -04:00
Simon Charette
d4fb742094 Refs #28575 -- Made RelatedObjectDoesNotExist classes pickable.
Thanks to Rachel Tobin for the initial __qualname__ work and tests.
2017-10-18 21:43:53 -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
Simon Charette
0a69479b6c Fixed outdated comment in RelatedObjectDoesNotExist. 2017-10-18 20:31:47 -04:00
Tim Graham
1399f8ae77 Refs #28711 -- Replaced ugettext_lazy() with gettext_lazy() in a test.
As per c651331b34.
2017-10-18 20:07:36 -04:00
Jonas Haag
d997ab7764 Fixed #28711 -- Fixed unordered_list template filter with lazy translations. 2017-10-18 19:45:10 -04:00
Jonas Haag
b21b1b10af Refs #23260 -- Tested nested generator input to unordered_list template filter. 2017-10-18 19:37:30 -04:00
Eneko Illarramendi
2346636b0c Updated Basque (eu) locale formats. 2017-10-17 11:34:46 -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
Tim Graham
1b73ccc4bf Fixed #28497 -- Restored the ability to use sliced QuerySets with __exact.
Regression in ec50937bcb.

Thanks Simon Charette for review.
2017-10-16 13:56:38 -04:00
Joe Arthur
61a6245dc5 Fixed typo in MessageMiddleware.process_response() docstring. 2017-10-16 10:10:43 -04:00
Yuri Kaszubowski Lopes
d98210c255 Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from mutating get_user_permissions(). 2017-10-14 20:47:49 -04:00
Claude Paroz
c1fa6672dd Refs #28710 -- Simplified l10n format test 2017-10-14 21:07:51 +02:00
k
399a8db33b Fixed #28695 -- Allowed models to use __init_subclass__(). 2017-10-13 21:29:12 -04:00
Simon Charette
9dd405973c Corrected examples in related field descriptor docstrings.
Using lowercased model class names suggested that accessing the attribute
from instances of the class returned an instance of the descriptor, but
this is only the case when accessed from the model class.
2017-10-13 16:06:08 -04:00
Simon Charette
216eda103b Refs #28575 -- Removed unnecessary code for model exception pickling.
Setting __qualname__ is sufficient for pickling of DoesNotExist and
and MultipleObjectsReturned to work correctly.
2017-10-13 15:45:12 -04:00