summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2019-03-28[2.2.x] Fixed "byte string" typo in various docs and comments.Mariusz Felisiak
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
2019-02-13[2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.Dan Davis
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. Backport of 2bd8df243ac6fc35e58c9fe90b20c9e42519a5ac from master.
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2019-01-12Fixed #30057 -- Fixed diffsettings ignoring custom configured settings.orlnub123
Regression in 49b679371fe9beddcd23a93b5fdbadea914f37f8.
2018-12-26Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for ↵Denis Stebunov
empty/error cases.
2018-12-24Fixed #20098 -- Added a check for model Meta.db_table collisions.Sanyam Khurana
2018-12-20Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments.Carlton Gibson
2018-12-19Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations.Dakota Hawkins
2018-12-19Fixed #30015 -- Ensured request body is properly consumed for keep-alive ↵Konstantin Alekseev
connections.
2018-11-27Fixed #28385 -- Fixed deserializing natural keys when primary key has a ↵dmytryi.striletskyi
default value. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2018-11-21Fixed #29949 -- Refactored db introspection identifier converters.Mariusz Felisiak
Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review.
2018-11-20Refs #24829 -- Removed TemplateResponse rendering in BaseHandler.get_response().Tim Graham
Obsolete since 742ea51413b3aab07c6afbfd1d52c1908ffcb510.
2018-11-20Corrected docs and removed unused code for got_request_exception signal's ↵Tim Graham
sender argument. Inaccurate since 7d1b69dbe7f72ac04d2513f0468fe2146231b286.
2018-11-20Removed BaseHandler.get_exception_response().Tim Graham
Unused since 7d1b69dbe7f72ac04d2513f0468fe2146231b286.
2018-11-19Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope
2018-11-14Fixed #25884 -- Fixed migrate --run-syncdb when specifying an app label.Sarah Guermond
2018-11-10Fixed keep-alive support in manage.py runserver.Florian Apolloner
Ticket #25619 changed the default protocol to HTTP/1.1 but did not properly implement keep-alive. As a "fix" keep-alive was disabled in ticket #28440 to prevent clients from hanging (they expect the server to send more data if the connection is not closed and there is no content length set). The combination of those two fixes resulted in yet another problem: HTTP/1.1 by default allows a client to assume that keep-alive is supported unless the server disables it via 'Connection: close' -- see RFC2616 8.1.2.1 for details on persistent connection negotiation. Now if the client receives a response from Django without 'Connection: close' and immediately sends a new request (on the same tcp connection) before our server closes the tcp connection, it will error out at some point because the connection does get closed a few milli seconds later. This patch fixes the mentioned issues by always sending 'Connection: close' if we cannot determine a content length. The code is inefficient in the sense that it does not allow for persistent connections when chunked responses are used, but that should not really cause any problems (Django does not generate those) and it only affects the development server anyways. Refs #25619, #28440.
2018-11-09Fixed signing.dumps() example for Python 3.minusf
2018-10-31Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to ↵Tim Graham
create the same directory. Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.
2018-10-30Fixed #29783 -- Added app label validation to showmigrations command.Junyoung
2018-10-30Capitalized SecurityMiddleware headers for consistency with other headers.Artur Juraszek
(No behavior change since HTTP headers are case insensitive.)
2018-10-23Fixed #29831 -- Added validation for makemigrations --name.Prabakaran Kumaresshan
2018-10-22Fixed #29830 -- Fixed loss of custom utf-8 body encoding in mails.jannschu
2018-10-22Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value.buzzi
2018-10-19Fixed #29774 -- Fixed django-admin shell hang on startup.Adam Allred
sys.stdin.read() blocks waiting for EOF in shell.py which will likely never come if the user provides input on stdin via the keyboard before the shell starts. Added check for a tty to skip reading stdin if it's not present. This still allows piping of code into the shell (which should have no TTY and should have an EOF) but also doesn't cause it to hang if multi-line input is provided.
2018-10-17Fixed #29857 -- Added get_storage_class to django.core.files.storage.__all__.Tim Graham
2018-10-09Capitalized "Python" in docs and comments.Jon Dufresne
2018-10-08Replaced kwargs.pop() with keyword-only arguments.Jon Dufresne
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-09-26Fixed #29673 -- Reset the URLconf at the end of each request.Matthew Power
Co-authored-by: Ross Thorne <rmwthorne@googlemail.com>
2018-09-26Fixed loaddata error message when uncompressed fixture has a dot in its name.Sergey Fedoseev
2018-09-26Refs #29784 -- Switched to https:// links where available.Jon Dufresne
2018-09-25Removed unneeded list() calls in list.extend() argument.Sergey Fedoseev
2018-09-19Refs #29198 -- Fixed migrate --plan crash if RunSQL uses a list or tuple.Tim Graham
Also fixed test failures if sqlparse isn't installed.
2018-09-11Refs #29560 -- Fixed typo in django/core/management/base.py.Nick Pope
2018-09-11Fixed #29560 -- Added --force-color management command option.Hasan Ramezani
2018-09-06Refs #29713 -- Improved error message from translation system check.Nick Pope
2018-09-03Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format.David
2018-08-27Fixed #29703 -- Deprecated QuerySetPaginator alias.Nick Pope
Unused since 4406d283e13819b04556df21044089b7d119edb0.
2018-08-23Fixed #29704 -- Fixed manage.py test --testrunner if it isn't followed by an ↵Matthijs Kooijman
equals sign.
2018-08-23Fixed #29705 -- Fixed ImageField RuntimeError crash for WebP files.winkidney
2018-08-22Refs #29654 -- Replaced three dots with ellipsis character in output strings.Claude Paroz
2018-08-20Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and ↵Federico Bond
FilePathField with os.scandir().
2018-08-20Fixed #29236 -- Fixed diffsettings crash if using settings.configure().Hasan Ramezani
2018-08-17Fixed #29626, #29584 -- Added optimized versions of get_many() and ↵oliver
delete_many() for the db cache backend.
2018-08-07Fixed #29244 -- Prevented Paginator.count() from silencing TypeError and ↵Josh Schneier
AttributeError.
2018-08-03Fixed #29198 -- Added migrate --plan option.Calvin DeBoer
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-27Fixed typo in ContentFile docstring.Thomas Grainger
2018-07-23Fixed #29528 -- Made URLValidator reject invalid characters in the username ↵Tim Bell
and password.