Commit Graph

25603 Commits

Author SHA1 Message Date
Dmitry Dygalo c979c0a2b8 Fixed #25718 -- Made a JSONField lookup value of None match keys that have a null value. 2018-04-04 10:53:46 -04:00
Windson yang 4fe5d84666 Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse. 2018-04-04 09:56:49 -04:00
Daniel Roseman e6c21217d3 Fixed reference to nonexistent __between lookup. 2018-04-04 09:43:36 -04:00
Mariusz Felisiak 816b386d41
Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db when 'postgres' db isn't available.
Thanks Tim Graham and Claude Paroz for reviews.
2018-04-03 22:21:47 +02:00
Tim Graham b2678468ae Added stub release notes for 1.11.13. 2018-04-03 15:03:44 -04:00
Mariusz Felisiak 55cc26941a
Refs #28643 -- Added Repeat database function.
Thanks Tim Graham and Nick Pope for reviews.
2018-04-03 19:36:12 +02:00
Mariusz Felisiak 6141c752fe
Fixed #29251 -- Added bytes to str conversion in LPad/RPad database functions on MySQL.
Thanks Tim Graham for the review.
2018-04-03 18:24:04 +02:00
Tim Graham 4f7467b690
Refs #28577 -- Added check for HStoreField to prevent mutable default. 2018-04-03 11:12:56 -04:00
Jon Dufresne 167d98528a Refs #27728 -- Fixed BytesWarning in admin_views tests. 2018-04-03 10:11:35 -04:00
Tim Graham 87639adcd1 Added stub release notes for 2.0.5. 2018-04-02 23:05:29 -04:00
Jon Dufresne f3b1c3bd06 Refs #23406 -- Fixed "invalid escape sequence" warning in migrations test. 2018-04-02 22:54:05 -04:00
Tim Graham 597aba6d67 Added release date for 2.0.4 and 1.11.12. 2018-04-02 21:36:23 -04:00
Claude Paroz 2a2ed0e70a Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget map's SRID.
Regression in 6ecccad711.
2018-04-02 10:20:00 -04:00
Tim Graham 09c6d01461 Fixed typo in docs/releases/2.0.4/1.11.12.txt. 2018-04-02 09:37:38 -04:00
Claude Paroz f3b69f9757 Fixed #29273 -- Prevented initial selection of empty choice in multiple choice widgets.
Regression in b52c73008a.
2018-04-02 08:52:53 -04:00
desigrammer d31a248c64 Removed unused regexes in django.core.management.templates.
Unused since their introduction in a9a0f0b03f.
2018-04-02 07:32:24 -04:00
Dan Watson e163effecc Fixed #29279 -- Added renderer argument to ModelForm. 2018-03-31 20:45:59 -04:00
Wim Feijen 058f607518 Clarified a sentence in docs/topics/i18n/translation.txt. 2018-03-31 19:33:48 -04:00
Chris Lamb 84ad721bd9 Fixed #29275 -- Made assertFormError() output "(actual errors: none)" instead of "(actual errors: )". 2018-03-31 18:35:45 -04:00
Tim Graham 73cb62a331 Fixed links to Sphinx docs. 2018-03-30 14:29:23 -04:00
Malte Gerth 874977d388 Fixed #29270 -- Fixed UserChangeForm crash if password field is excluded. 2018-03-29 15:25:54 -04:00
Mads Jensen c59aa9e6aa Added test for combining Q objects with non-Q objects. 2018-03-29 13:58:55 -04:00
Daniel Chimeno fbb9358149 Replaced 'python -Wall' with 'python -Wa'. 2018-03-28 13:25:03 -04:00
Simon Charette 2156565b5b Fixed #29245 -- Made autodetector treat field renames + db_column addition as RenameField. 2018-03-28 12:43:43 -04:00
Tim Graham ba5f24ea64 Fixed #29265 -- Removed the suggestion to hardcode static URLs. 2018-03-28 11:16:01 -04:00
Quentin Agren 34c5222837 Fixed #29148 -- Doc'd how to use get_or_create() with Q objects. 2018-03-28 10:46:34 -04:00
Abeer Upadhyay 1bf4646f91 Fixed #29258 -- Added type checking for login()'s backend argument. 2018-03-28 10:10:18 -04:00
Hasan Ramezani 76ae1e9a94 Increased test coverage for {% get_admin_log %} and {% static %}. 2018-03-26 13:34:23 -04:00
AK 3990d74018 Added a pagination example to ListView docs. 2018-03-26 11:40:54 -04:00
Mads Jensen 4554f9a783 Increased test coverage for various template tags. 2018-03-24 19:56:46 -04:00
Mads Jensen 623117d1f1 Removed unnecessary variable in Lexer.create_token(). 2018-03-24 19:10:56 -04:00
Dan Watson 29150d5da8 Fixed #23406 -- Allowed migrations to be loaded from .pyc files. 2018-03-23 13:20:38 -04:00
Graham Ullrich ee7f51c66d Fixed #29250 -- Added 'django_version' context to startapp/project docs. 2018-03-22 21:06:50 -04:00
Tim Graham de0e54ea00 Bumped minimum Sphinx version to 1.6.0. 2018-03-22 20:30:03 -04:00
Tim Graham a4f0e9aec7 Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
Regression in aeb1389442.
Reverted changes to is_password_usable() from
703c266682 and documentation changes from
92f48680db.
2018-03-22 10:03:43 -04:00
Melissa Lewis d97cce3409 isorted import statements in tutorial example 2018-03-22 08:53:56 +01:00
Tim Graham 623139b5d1 Refs #29147 --- Added JSONField serialization tests. 2018-03-21 20:11:06 -04:00
Alasdair Nicol 0c100f8b57 Clarified docs about ISO 8601 week numbering. 2018-03-21 20:00:39 -04:00
Michael Sinov 9aca67bea8 Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an unsupported type. 2018-03-21 12:28:16 -04:00
Tim Graham a170dac887 Fixed too many parentheses in inspectdb Meta.unique_together output.
Regression in c76d87427d.
2018-03-21 10:39:36 -04:00
Mads Jensen bb79e480e1 Increased test coverage for i18n template tags. 2018-03-21 08:38:07 -04:00
Tim Graham c76d87427d
Refs #23919 -- Removed obsolete comments about u'' prefixes. 2018-03-21 08:15:07 -04:00
Tim Graham ba76c3c45b Refs #27656 -- Removed "This will" prefix from djanog/templatetags/i18n.py docstrings. 2018-03-21 08:08:40 -04:00
Jezeniel Zapanta abe6c5defe Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add(). 2018-03-20 21:09:08 -04:00
Denis 1834490a0c Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations. 2018-03-20 20:43:33 -04:00
Sergey Fedoseev 27ca5ce19f Used datetime.timezone.utc instead of pytz.utc for better performance. 2018-03-20 15:24:16 -04:00
Nick Pope 281c0223b3 Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField. 2018-03-20 12:10:10 -04:00
Tim Graham 6421bd702f Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than NullBooleanField. 2018-03-20 12:10:10 -04:00
Tim Graham 5fa4f40f45 Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-20 12:10:10 -04:00
Peter Inglesby 73f7d1755f Extracted deserialize fk/m2m functions from Deserializer.
In preparation for handling forward references (refs #26291).
2018-03-20 12:07:39 -04:00