summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2016-12-01Fixed #27546 -- Removed hardcoded class names in __repr__() methods.Keda87
2016-11-29Fixed #27507 -- Used SchemaEditor.execute() to run deferred_sql in migrate's ↵Lex Berezhny
sync_apps().
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Fixed #27469 -- Prevented sending email to empty addressesClaude Paroz
Thanks Jarek Glowacki for the report.
2016-11-10Fixed #27438 -- Added the diffsettings --default option.Paweł Marczewski
2016-11-09Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations.Joseph Kahn
2016-11-08Fixed #27436 -- Fixed makemigrations crash when creating migrations on a ↵Zbigniew Siciarz
separate drive than where Django is installed.
2016-11-03Fixed #27423 -- Simplified sys.exit() for indicating test failures.Ana Balica
2016-10-28Fixed #26578 -- Prohibited non-ASCII digits in validate_ipv4_address.wim glenn
2016-10-27Corrected TooManyFieldsSent doctring for GET requests.Zach Wernberg
2016-10-21Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection ↵Jon Dufresne
if an exception occurs. Fixes unclosed socket ResourceWarning in mail test. Thanks Claude Paroz for the review.
2016-10-20Optimized file copy in TemplateCommandClaude Paroz
2016-10-13Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.Tim Graham
2016-10-12Fixed #24607 -- Serialized natural keys in multi-table inheritance models.João Sampaio
2016-10-12Fixed #27333 -- Prevented BASE64 encoding in message.as_string() on Python 3Claude Paroz
Thanks Tim Graham for the review.
2016-10-11Replaced '__' with LOOKUP_SEP constant.Nick Pope
2016-10-06Fixed #27300 -- Made makemigrations --dry-run output a string (no bytes)Claude Paroz
Thanks Markus Holtermann for the report and the review.
2016-10-05Fixed #27262 -- Moved URL checks to resolver and pattern classes.Lucas Lois
Thanks Sjoerd Job Postmus for the report and review.
2016-10-05Removed unused variable in django/core/mail/backends/smtp.py.Tim Graham
2016-10-02Fixed #27305 -- Removed BaseCommand.can_import_settings unused attributeClaude Paroz
Thanks Tim Graham for the review.
2016-10-01Refs #26940 -- Re-allowed makemessages without settingsClaude Paroz
Thanks Tim Graham for the review.
2016-09-30Removed unneeded no_settings_commands hardcoded listClaude Paroz
Thanks Tim Graham for the review.
2016-09-27Fixed #27210 -- Allowed SMTPBackend to fail silently on a socket connection ↵Vesteinn Snaebjarnarson
error.
2016-09-21Fixed #26210 -- Prevented SMTP backend from trying to send mail after a ↵levental
connection failure.
2016-09-19Fixed #27238 -- Disabled check_pattern_startswith_slash if ↵Alasdair Nicol
settings.APPEND_SLASH=False. Thanks strycore for the report and timgraham for suggesting the solution.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-03Fixed #27171 -- Added unicode_literals and coding preamble to all files in ↵Ivan
startapp template on Python 2.
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
The smart_* version should only be used when a lazy string should keep its lazy status.
2016-09-02Fixed #11331 -- Stopped closing pylibmc connections after each request.Ed Morley
libmemcached manages its own connections, so isn't affected by refs #5133.
2016-09-01Fixed #27142, #27110 -- Made makemigrations consistency checks respect ↵Tim Graham
database routers. Partially reverted refs #27054 except for one of the tests as this solution supersedes that one. Thanks Shai Berger for the review.
2016-09-01Clarified URL regex check message with respect to include().Riccardo Magliocchetti
2016-08-31Fixed #27152 -- Supported comma delimiter in memcached LOCATION string.Ed Morley
2016-08-31Fixed #20892 -- Allowed configuring memcached client using OPTIONS.Ed Morley
Previously, the MemcachedCache backend ignored `OPTIONS` and PyLibMCCache used them to set pylibmc behaviors. Both backends now pass `OPTIONS` as keyword arguments to the client constructors.
2016-08-31Fixed #27131 -- Passed proper string type to SMTP connection loginClaude Paroz
Passing an Unicode string on Python 2 was crashing the connection. Thanks slavugan@gmail.com for the report, and Tim Graham for the review.
2016-08-25Replaced property() usage with decorator in several places.Berker Peksag
2016-08-24Removed a blank line per isort.Tim Graham
2016-08-24Fixed #27100 -- Included already applied migration changes in the ↵Simon Charette
pre-migrate state. Refs #24100. Thanks Tim for the review.
2016-08-24Fixed #27044 -- Included already applied migration changes in the ↵Simon Charette
post-migrate state when the execution plan is empty. Refs #24100. Thanks tkhyn for the report and Tim for the review.
2016-08-23Fixed #26971 -- Prevented crash with non-UTF-8 incoming PATH_INFOClaude Paroz
Thanks Tim Graham and Loïc Bistuer for the reviews.
2016-08-19Removed DateTimeAwareJSONEncoder alias.Tim Graham
2016-08-16Fixed crash comparing CheckMessage objects to non-CheckMessage objects.Adam Chainz
2016-08-12Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments.Michael Schwarz
The fallback logic which allows non-UTF-8 encoded files to be passed to attach_file() even when a `text/*` mime type has been specified is moved to attach(). Both functions now fall back to a content type of `application/octet-stream`. A side effect is that a file's content is decoded in memory instead of opening it in text mode and reading it into a string. Some mimetype-related logic in _create_attachment() has become obsolete as the code moved from attach_file() to attach() already handles this.
2016-08-11Fixed #27034 -- Made makemessages independent of USE_I18NClaude Paroz
Thanks Tim Graham for the review.
2016-08-10Refs #26947 -- Added a deployment system check for SECURE_HSTS_PRELOAD.Ed Morley
2016-08-08Fixed #27036 -- Made locmem email backend's send_messages() accept generators.Antoine Fontaine
2016-08-08Fixed #26940 -- Removed makemessages from no_settings_commands whitelistClaude Paroz
As makemessages uses several settings for proper run (FILE_CHARSET, LOCALE_PATHS, MEDIA_ROOT, and STATIC_ROOT), we should require settings configuration for this command.
2016-08-08Moved EmpytResultSet to django.core.exceptions.Johannes Dollinger
This removes the need for some inner imports.
2016-08-05Fixed #27023 -- Prevented possibility of shell loading ~/.pythonrc.py twice.Peter Inglesby
2016-08-02Fixed #27000 -- Removed BaseCommand.usage() per deprecation timeline (refs ↵Tim Graham
#19973).