summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-25Fixed #29353 -- Made StaticFilesHandler return a 404 response when ↵Claude Paroz
settings.DEBUG is False
2018-04-24Fixed "invalid escape sequence" warning in runtests.py.Tim Graham
2018-04-23Fixed #28973 -- Silenced copying/linking messages in collectstatic's default ↵Claude Paroz
verbosity.
2018-04-23Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.François Freitag
COUNT is more expensive than EXISTS; use the latter when possible.
2018-04-23Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.François Freitag
Instead of loading all QuerySet results in memory, count the number of entries. This adds an extra query when list() or tuple() is called on the choices (because both call __len__() then __iter__()) but uses less memory since the QuerySet results won't be cached. In most cases, the choices will only be iterated on, meaning that __len__() won't be called and only one query will be executed.
2018-04-23Fixed #29349 -- Doc'd the default behavior of router.allow_relation().Stefan R. Filipek
2018-04-23Fixed typos in docs/topics/auth/passwords.txt.adamth
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-21Fixed #29295 -- Fixed management command crash when using subparsers.Hasan Ramezani
Thanks Tim Graham for the fix.
2018-04-20Fixed #29247 -- Allowed blank model field choice to be defined in nested ↵orlnub123
choices.
2018-04-20Moved tests for model Field.get_choices().Tim Graham
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-04-19Fixed #29313 -- Doc'd how to use F() to sort null values.drd0013
2018-04-19Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer
2018-04-19Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.Adnan Umer
2018-04-19Fixed #29339 -- Added result caching to RawQuerySet.Adnan Umer
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-19Fixed #29212 -- Doc'd redirect loop if @permission_required used with ↵Nick Pope
redirect_authenticated_user.
2018-04-19Clarified wording in tutorial text.Burhanuddin Baharuddin
2018-04-18Refs #23890 -- Removed numpy deprecation warning silencing.Tim Graham
Obsolete since numpy 1.12.0.
2018-04-18Fixed #29174, #29175 -- Doc'd that f-strings and JavaScript template strings ↵Tim Graham
can't be translated.
2018-04-17Fixed a test failure with the latest GeoIP2 database.Tim Graham
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-04-17Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is ↵Jon Dufresne
accessed and not set.
2018-04-17Added a test for a settings error message.Tim Graham
2018-04-17Simplified Oracle's DatabaseOperations.cache_key_culling_sql() with ↵Mariusz Felisiak
LIMIT/OFFSET.
2018-04-16Fixed #29253 -- Made method_decorator(list) copy attributes.Chris Jerdonek
2018-04-16Fixed inconsistent formatting in tests/modeladmin/test_checks.py.Tim Graham
2018-04-16Updated decorators test to use subTest().Chris Jerdonek
2018-04-16Fixed #29274 -- Increased the number of common passwords from 1k to 20k.GS-14
2018-04-16Fixed #29330 -- Fixed crash when pickling BaseExpression.Daniel Miller
Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c.
2018-04-15Fixed typo in docs/topics/i18n/translation.txt.Ben Menesini
2018-04-13Fixed #27863 -- Added support for the SameSite cookie flag.Alex Gaynor
Thanks Alex Gaynor for contributing to the patch.
2018-04-13Fixed #29322 -- Made admin check all ModelAdmin fieldsets for duplicates.Matthias Kestenholz
2018-04-13Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or ↵Mariusz Felisiak
values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews.
2018-04-12Fixed #29320 -- Added an exception when an annotation alias matches a ↵Flávio Juvenal
ForeignKey attname.
2018-04-12Fixed schema test failure when running tests in reverse.Tim Graham
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528.
2018-04-12Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.Paul Donohue
2018-04-11Fixed #29193 -- Prevented unnecessary foreign key drops when altering a ↵Jeremy Bowman
unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
2018-04-11Tested altering a unique field when a reverse M2M relation exists.Jeremy Bowman
2018-04-11Fixed typo in docs/topics/db/managers.txt.Luoxzhg
2018-04-11Fixed #29301 -- Made management command --help display command-specific ↵David Foster
arguments before common arguments.
2018-04-10Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards ↵Tim Graham
incompatible change.
2018-04-10Fixed mistakes in docs/topics/db/examples/many_to_one.txt.Luoxzhg
2018-04-10Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.Alasdair Nicol
Thanks erindy for the report.
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2018-04-07Added tests for ArrayField.has_changed().Vinay Karanam
2018-04-06Updated contributing docs for some latest practices.Tim Graham
2018-04-06Fixed #29289 -- Clarified PasswordResetTokenGenerator comment regarding the ↵Tim Graham
data hashed to generate tokens. Thanks Luke Plant for the draft text.
2018-04-05Fixed #29248 -- Renamed admin CSS class field-box to fieldBox.Faheel Ahmad