summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2019-10-14[3.0.x] Fixed #30870 -- Fixed showing that RunPython operations are ↵Mariusz Felisiak
irreversible by migrate --plan. Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the report. Backport of 06d34aab7cfb1632a1538a243db81f24498525ff from master
2019-09-09Fixed #29406 -- Added support for Referrer-Policy header.Nick Pope
Thanks to James Bennett for the initial implementation.
2019-09-09Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.Claude Paroz
2019-09-06Fixed #30763 -- Fixed management commands when using required mutually ↵Hasan Ramezani
exclusive groups.
2019-08-30Fixed #30736 -- Added Storage.get_alternative_name() to allow customization.yukihira1992
2019-08-26Refs #23919 -- Replaced super(ASGIHandler, self) with super().Jon Dufresne
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-08-19Fixed #30693 -- Removed separate import of os.path in ↵Maaz Bin Tahir Saeed
django.core.management.templates.
2019-08-12Corrected multiple typos.Min ho Kim
2019-08-08Fixed #30673 -- Relaxed system check for db_table collision when database ↵Adnan Umer
routers are installed by turning the error into a warning.
2019-08-07Corrected several typos in string literals and test names.Min ho Kim
2019-08-05Fixed #30680 -- Removed obsolete system check for SECURE_BROWSER_XSS_FILTER ↵Adnan Umer
setting.
2019-07-31Refs #30669 -- Removed incorrect branch in ASGIHander.read_body().Carlton Gibson
None is not valid for settings.FILE_UPLOAD_MAX_MEMORY_SIZE. Always use SpooledTemporaryFile.
2019-07-26Fixed #30567 -- Made WSGIHandler pass FileResponse.block_size to ↵Piotr Domanski
wsgi.file_wrapper.
2019-07-23Improved error message when index in __getitem__() is invalid.Jon Dufresne
2019-07-10Fixed #30619 -- Made runserver --nothreading use single threaded WSGIServer.atsuo ishimoto
Browsers often use multiple connections with Connection: keep-alive. If --nothreading is specified, the WSGI server cannot accept new connections until the old connection is closed, causing hangs. Force Connection: close when --nothreading option is used.
2019-07-03Fixed #30608 -- Fixed non-unicode EmailMessage crash when domain name for ↵Chason Chaffin
localhost is non-ASCII. Assisted by felixxm.
2019-07-03Refs #30608 -- Added django.utils.encoding.punycode().Mariusz Felisiak
2019-07-02Fixed #30604 -- Made mail_admins()/mail_managers() raise ValueError if ↵Hasan Ramezani
ADMINS/MANAGERS is set incorrectly.
2019-07-01Fixed #30595 -- Added error message when no objects found to sql* management ↵Hasan Ramezani
commands.
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-28Fixed #30584 -- Fixed management command when using subparsers with dest ↵Hasan Ramezani
parameter.
2019-06-27Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model.Nadège Michel
2019-06-20Refs #30451 -- Added more tests for ASGIRequest and ASGIHandler.Mariusz Felisiak
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.
2019-06-15Refs #30451 -- Added HttpRequest._set_content_type_params() hook.Mariusz Felisiak
2019-06-13Fixed #30512 -- Used email.headerregistry.parser for parsing emails in ↵Joachim Jablon
sanitize_address().
2019-05-08Used time.monotonic() instead of time.time() where applicable.Przemysław Suliga
time.monotonic() available from Python 3.3: - Nicely communicates a narrow intent of "get a local system monotonic clock time" instead of possible "get a not necessarily accurate Unix time stamp because it needs to be communicated to outside of this process/machine" when time.time() is used. - Its result isn't affected by the system clock updates. There are two classes of time.time() uses changed to time.monotonic() by this change: - measuring time taken to run some code. - setting and checking a "close_at" threshold for for persistent db connections (django/db/backends/base/base.py).
2019-05-02Fixed #30396 -- Added system checks for uniqueness of indexes and ↵can
constraints names. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-04-30Fixed #30418 -- Added --skip-checks management command option.Jon Dufresne
2019-04-25Removed redundant os.path.abspath() call.Jon Dufresne
2019-04-25Fixed #30393 -- Added validation of startapp's directory option.oliver
2019-04-25Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ↵Ville Skyttä
ForeignKey(unique/primary_key=True).
2019-04-24Refs #30241 -- Fixed BytesWarning emitted in test_translation tests.Jon Dufresne
2019-04-24Removed unnecessary assignments in various code.Jon Dufresne
2019-04-24Fixes #30342 -- Removed a system check for LANGUAGES_BIDI setting.Matthias Kestenholz
This partly reverts commit 4400d8296d268f5a8523cd02ddc33b12219b2535.
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-03-30Made startapp/project's overlaying error message use 'app' or 'project'.oliver
2019-03-30Fixed #30301 -- Removed OutputWrapper.__init__()'s style_func arg.Tim Graham
Unused since 533532302ae842c95cf7294ef6cd7f3e2bfaca65.
2019-03-28Fixed #30241 -- Added more system checks of translation settings.Nick Pope
2019-03-28Refs #29713 -- Improved error message when LANGUAGE_CODE is invalid.Nick Pope
2019-03-28Fixed "byte string" typo in various docs and comments.Mariusz Felisiak
2019-03-08Fixed #30186 -- Made showmigrations --list display the applied datetimes at ↵tschilling
verbosity 2+.
2019-03-07Fixed #30189 -- Removed transaction from sqlmigrate output if database ↵Parth Patil
doesn't use one.
2019-02-14Fixed #30181 -- Made cache.get() with default work correctly on PyLibMCCache ↵Jakub Szafrański
if None is cached.
2019-02-13Fixed #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.
2019-02-08Simplified FileBasedCache.clear().Jon Dufresne
glob.glob1() ignores missing paths.
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵Jon Dufresne
exist_ok=True).