summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2015-07-20Replaced six.BytesIO with io.BytesIOTim Graham
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-15Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.rroskam
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-07-14Fixed #25123 -- Corrected makemessages --extension help textCesar Canassa
2015-07-13Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are ↵Daniel Roseman
defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
2015-07-13Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov
The new attribute is checked when the `migrate --fake-initial` option is used. initial will be set to True for all initial migrations (this is particularly useful when initial migrations are split) as well as for squashed migrations.
2015-07-08Fixed catastrophic backtracking in URLValidator.Shai Berger
Thanks João Silva for reporting the problem and Tim Graham for finding the problematic RE and for review. This is a security fix; disclosure to follow shortly.
2015-07-08Prevented newlines from being accepted in some validators.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-07Fixed #22804 -- Added warning for unsafe value of 'sep' in SignerDavid Wolever
Thanks Jaap Roes for completing the patch.
2015-07-06Fixed #25059 -- Allowed Punycode TLDs in URLValidatorAlexey Sveshnikov
2015-07-06Updated Memcached get_backend_timeout() comment.Karol Duleba
2015-07-03Fixed #24877 -- Added middleware handling of response.render() errors.Sylvain Fankhauser
2015-07-03Fixed #23190 -- Made Paginator.page_range an iteratorRigel Di Scala
2015-07-02Fixed #25050 -- Allowed serialization of models with deferred fields.Grégoire ROCHER
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-24Reordered import in JSON serializerClaude Paroz
2015-06-24Fixed #25019 -- Added UUID support in DjangoJSONEncoderLukas Hetzenecker
2015-06-22Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵Rolo
management command.
2015-06-20Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.Marten Kenbeek
Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
2015-06-19Fixed #20197 -- Made XML serializer fail loudly when outputting ↵Claude Paroz
unserializable chars Thanks Tim Graham for the review.
2015-06-18Removed support for Python 3.3.Tim Graham
2015-06-17Fixed #24829 -- Allowed use of TemplateResponse in view error handlers.ana-balica
2015-06-16Fixed #24971 -- Made startapp generate an apps.pyMounir Messelmeni
2015-06-15Fixed #24979 -- Removed usage of inspect.getargspec().Tim Graham
2015-06-15Removed django.utils.functional.total_ordering()Tim Graham
2015-06-13Fixed #24978 -- Escaped special characters in loaddata fixture pathsMoritz Sichert
2015-06-12Fixed #24963 -- Added File.seekable() on Python 3.Carson Gee
2015-06-11Fixed #24950 -- Added unicode_literals to models.py in app templateMarkus Holtermann
Thanks Tim Graham for the patch
2015-06-10Merge pull request #4811 from mthornhill/12685Russell Keith-Magee
Fixed #12685 - Ensure that deserialised model instances honor the same arguments as normal models.
2015-06-10Fix for ticket 12685mick
2015-06-09Fixed #24769 -- Cast optparse verbosity argument to an integer for better ↵Rivo Laks
backwards compatibility. Using `BaseCommand.options_list` makes Django use the legacy optparse parser, which does not set the verbosity attribute correctly. Now the verbosity argument is always cast to int. Regression in 8568638 (#19973). Initial report and patch from blueyed.
2015-06-06Fixed #24922 -- Added system check for templates settingSergei Maertens
If `'loaders'` is present in the `TEMPLATES` options together with `APP_DIRS` set to `True`, the template engine raises an exception. This conflict is now detected by the system check templates.E001.
2015-06-06Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces.Marten Kenbeek
Set ResolverMatch.app_name to the full path of nested application namespaces.
2015-06-05Fixed #24904 -- Fixed nested namespaces in current_app.Marten Kenbeek
Fixed reverse() to correctly handled nested namespace lookups in current_app.
2015-06-04Fixed #24159 -- Made compilemessages run across all apps.Matthew Somerville
Updated the command to match the documentation, which states it runs over all .po files.
2015-05-22Fixed #24776 -- Improved apps.get_app_config() error message on ↵Peter Inglesby
fully-qualified package names.
2015-05-18Fixed #24805 -- Delayed check for locale_dir in makemessagesClaude Paroz
Thanks Wim Feijen for the report.
2015-05-17Refactored datetime handling in the database cache backend.Aymeric Augustin
Took advantage of the new database adapters and converters.
2015-05-17Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin
This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.
2015-05-17Removed global timezone-aware datetime converters.Aymeric Augustin
Refs #23820.
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-05-13Fixed #24742 -- Made runserver.check_migrations ignore read-only databasesClaude Paroz
Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus Holtermann for the reviews.
2015-05-12Allowed runserver sublcasses to easily override the default port.Matt Robenolt
2015-05-11Fixed #24733 -- Passed the triggering exception to 40x error handlersClaude Paroz
Thanks Tim Graham for the review.
2015-05-05Extended variable name in handlers/base.pyClaude Paroz
Refs #24733.
2015-05-02Fixed #24693 -- Added label and label_lower property to Model._metaLuis Del Giudice
2015-05-01Fixed #23271 -- Fixed makemessages crash/test failure for some locales.daphshez
2015-04-26Fixed #24707 -- Improved error reporting for explicitly imported uncallable ↵Harry
views