summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
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.
2016-02-25Fixed #14098 -- Prevented crash for introspection errors in inspectdbClaude Paroz
Thanks Tim Graham for the review.
2016-02-23Fixed #23832 -- Added timezone aware Storage API.James Aylett
New Storage.get_{accessed,created,modified}_time() methods convert the naive time from now-deprecated {accessed,created_modified}_time() methods into aware objects in UTC if USE_TZ=True.
2016-02-23Fixed #26190 -- Returned handle() result from call_commandClaude Paroz
Thanks Tim Graham for the review.
2016-02-18Fixed #26204 -- Reallowed dashes in top-level domains for URLValidator.Tim Graham
Thanks Shai Berger for the review.
2016-02-18Fixed #26107 -- Added option to int_list_validator() to allow negative integers.Akshesh
2016-02-12Fixed #25304 -- Allowed management commands to check if migrations are applied.Mounir Messelmeni
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-11Added a function for SECRET_KEY generation logic.Roberto Rosario
2016-02-10Fixed #26014 -- Added WSGIRequest content_type and content_params attributes.Curtis Maloney
Parsed the CONTENT_TYPE header once and recorded it on the request.
2016-02-05Refs #26144 -- Used proxy_for_model instead of mro inspection.Simon Charette
2016-02-05Fixed #25833 -- Added support for non-atomic migrations.Pankrat
Added the Migration.atomic attribute which can be set to False for non-atomic migrations.
2016-02-04Fixed #26144 -- Warned when dumping proxy model without concrete parent.Yoong Kang Lim
2016-02-04Removed some leftover trailing commas.Simon Charette
2016-02-01Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.Buddy Lindsey, Jr
2016-01-29Fixed #26150 -- Sorted app_labels in migrate command outputMarkus Holtermann
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-25Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.Chris Lamb
Debian packages unconditionally byte-compile .py files on installation and do not silence errors by design. Therefore, we need a way of shipping these invalid .py files without a .py extension but ensuring that when we template them, they end up as .py. We don't special-case .py files so that the all the TemplateCommand command-line options (eg. extra_files and extensions) still work entirely as expected and it may even be useful for other formats too.
2016-01-14Fixed #23868 -- Added support for non-unique django-admin-options in docs.Tim Graham
Also documented missing short command line options to fix #24134. This bumps the minimum sphinx version required to build the docs to 1.3.4. Thanks Simon Charette for review.
2016-01-14Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by ↵Tim Graham
default.
2016-01-11Fixed #25684 -- Made runserver use logging for request/response output.Flavio Curella
Thanks andreif for the contributing to the patch.
2016-01-07Fixed #26038 -- Changed FileSystemStorage defaults on setting change.Simon Charette
Thanks to Dave Voutila for the report and Tim for the review.
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2016-01-06Fixed #25680 -- Added django-admin shell --command option.Niels Van Och
Add a -c option to the shell command to execute a command passed as a string as Django.
2016-01-04Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.Andrew Kuchev
Thanks to mpasternak for the report and Tim Graham for the review.
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-31Fixed #26011 -- Prevented random LiveServerTestCase test failures on Windows.Marten Kenbeek
Prevented LiveServerTestCase from stealing ports used by concurrent processes on Windows.
2015-12-31Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.Anssi Kääriäinen
Django's test suite often tries to load fixture files from apps that have no fixtures at all. This creates a lot of unnecessary disabling and enabling of constraints which can be expensive on some database. To speed this up, loaddata now first checks if any fixture file matches. If no fixture file is matched, then the command exits before disabling and enabling of constraints is done. The main benefit of this change is seen on MSSQL, where tests on Django 1.8 run hours faster.
2015-12-29Fixed typo in BaseCache.delete_many() docstring.Matthew Madurski