summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2016-06-18[1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with ↵Tim Graham
File." This reverts commit 1b407050dd53e56686fdd3e168f8cac4f9be8306 as it introduces a regression in the test for refs #26772. Backport of cd217de6100e0101fd921dd18bc2e706bac397c9 from master
2016-06-17[1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵Carl Meyer
exception handling. Backport of 7d1b69dbe7f72ac04d2513f0468fe2146231b286 from master
2016-06-16[1.10.x] Fixed flake8 2.6 warnings.Tim Graham
Backport of ea34426ae789d31b036f58c8fd59ce299649e91e from master
2016-06-15[1.10.x] Fixed broken links in docs and comments.Ville Skyttä
Backport of 96f97691ad5e1483263cea3bb4e4021b4c8dcc41 from master
2016-06-14[1.10.x] Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.Hugo Osvaldo Barrera
914c72be2abb1c6dd860cb9279beaa66409ae1b2 introduced a regression that causes saving a NamedTemporaryFile in a FileField to raise a SuspiciousFileOperation. To remedy this, if a File has an absolute path as a filename, use only the basename as the filename. Backport of 1b407050dd53e56686fdd3e168f8cac4f9be8306 from master
2016-05-28[1.10.x] Fixed #26645 -- Fixed potential makemessages failures on Windows.Ramiro Morales
This was reflected by 27 i18n test errors (not failures) on such platform caused by corrupt intermediate PO catalog files fed to `msgmerge(1)`. Made it handle in-memory PO/POT file contents with normalized line separators (`'\n'`). We need to perform manually this after using `subprocess.Popen` as we can't pass it `universal_newlines=True`. Also fixes #26670 in the process as this commit refactors the same code section. Backport of 6ab0d1358fc78077064aab88a4fb0a47ca116391 from master
2016-05-19Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()Alex Hill
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵Alex Hill
tests
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17Refs #26601 -- Refactored BaseHandler to prepare for new-style middleware.Florian Apolloner
2016-05-15Fixed #24100 -- Made the migration signals dispatch its plan and apps.Simon Charette
Thanks Markus for your contribution and Tim for your review.
2016-05-12Fixed #21231 -- Enforced a max size for GET/POST values read into memory.Andre Cruz
Thanks Tom Christie for review.
2016-05-11Fixed #26429 -- Added a timestamp to merge migration names.Raphael Gaschignard
This reduces the possibility of a naming conflict, especially after squashing migrations.
2016-05-10Fixed #26580 -- Updated references to obsolete RFC 2822.Vasiliy Faronov
Didn't rename django.utils.feedgenerator.rfc2822_date() as some external code may rely on it.
2016-05-08Included reverse deps in showmigrationsJarek Glowacki
2016-05-06Fixed #25986 -- Fixed crash sending email with non-ASCII in local part of ↵Sergei Maertens
the address. On Python 3, sending emails failed for addresses containing non-ASCII characters due to the usage of the legacy Python email.utils.formataddr() function. This is fixed by using the proper Address object on Python 3.
2016-05-04Replaced a 'raw' six importClaude Paroz
2016-05-02Fixed #26341 (again) -- Addressed multiple occurrences per line use caseClaude Paroz
2016-05-02Fixed docstring typos.Offby-One Kenobi
2016-04-30Fixed #26440 -- Added a warning for non-url()s in urlpatterns.Alasdair Nicol
Thanks Burhan Khalid for the initial patch and knbk/timgraham for review.
2016-04-30Fixed #26058 -- Delegated os.path bits of FileField's filename generation to ↵Cristiano
the Storage.
2016-04-30Fixed #26341 -- Fixed makemessages breaking location comments for HTML filesClaude Paroz
Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the initial patch.
2016-04-29Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵Anssi Kääriäinen
deferred instance loading.
2016-04-29Fixed #26546 -- Allowed HTTPStatus enum values for HttpResponse.status.David Evans
2016-04-25Fixed #26052 -- Moved conditional_content_removal() processing to the test ↵Tim Graham
client.
2016-04-21Fixed #26495 -- Added name arg to Storage.save()'s File wrapping.Maxim Novikov
2016-04-20Fixed #26504 -- Avoided logging "Not Found" warnings if a middleware handles ↵Carl Worth
the 404. For example, this avoids a warning in the case of a request that's redirected to a language-prefixed URL by LocaleMiddleware.
2016-04-19Fixed #22561 -- Prevented too long lines in email messagesClaude Paroz
Thanks NotSqrt for the excellent report and Tim Graham for the review.
2016-04-15Converted property syntax in django.core.paginatorClaude Paroz
2016-04-12Fixed #26492 -- Fixed "maximum recursion depth exceeded" migrate error.Berker Peksag
A regression introduced in 0d3c616fbb2f49fa7ff6809e5a6777275352b35b; refs #26351.
2016-04-08Refs #26351 -- Added check hook to support database-related checksClaude Paroz
Thanks Tim Graham and Shai Berger for the reviews.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-05Fixed #26462 -- Fixed Python 2 UnicodeEncodeError when warning about long ↵Przemysław Suliga
cache keys.
2016-04-05Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.Attila Tovt
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-04-04Fixed #26460 -- Issued a single warning for invalid cache keyPrzemysław Suliga
2016-04-04Fixed #26452 -- Loaded middleware on server start rather than on first request.David Evans
2016-04-03Fixed #25905 -- Prevented leading slashes in urljoin() callsrixx
Leading slashes in the second urljoin argument will return exactly that argument, breaking FileSystemStorage.url behavior if called with a parameter with leading slashes. Also added test cases for null bytes and None. Thanks to Markus for help and review.
2016-04-03Merge pull request #6389 from Dunedan/ticket_25420Dunedan
Fixed #25420 -- Documented bash completion exit code behavior.
2016-03-21Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.Vincenzo Pandolfo
2016-03-18Fixed #25658 -- Allowed inspectdb to inspect a specific set of tables.José Tomás Tocino
2016-03-08Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set().Przemysław Suliga
2016-03-08Fixed #26289 -- Enabled shell tab completion on systems using libedit.Saúl Ibarra Corretgé
2016-03-05Refs #26315 -- Cleaned up argparse options in commands.Jon Dufresne
* Removed type coercion. Options created by argparse are already coerced to the correct type. * Removed fallback default values. Options created by argparse already have a default value. * Used direct indexing. Options created by argparse are always set. This eliminates the need to use dict.get().
2016-03-05Fixed #26315 -- Allowed call_command() to accept a Command object as the ↵Jon Dufresne
first argument.
2016-03-05Cleaned up tests to use call_command() instead of Command.execute().Jon Dufresne
2016-03-03Passed proper default value to int-type 'verbosity' optionJon Dufresne
2016-03-01Removed obsolete, unused option 'hide_empty' from loaddata command.Jon Dufresne
Unused since 67235fd4ef1b006fc9cdb2fa20e7bb93b0edff4b.