summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-05-24Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
2015-05-22Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted ↵Alexander Sosnovskiy
objects.
2015-05-22Fixed #24776 -- Improved apps.get_app_config() error message on ↵Peter Inglesby
fully-qualified package names.
2015-05-21Fixed #17085, #24783 -- Refactored template library registration.Preston Timmons
* Converted the ``libraries`` and ``builtins`` globals of ``django.template.base`` into properties of the Engine class. * Added a public API for explicit registration of libraries and builtins.
2015-05-20Fixed incorrect session.flush() in cached_db session backend.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks Sam Cooke for the report and draft patch.
2015-05-20Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.Simon Charette
Thanks to Tim and Anssi for the review.
2015-05-20Fixed #24705 -- Fixed negated Q objects in expressions.Anssi Kääriäinen
Avoided split_exclude() for Q when used as an expression.
2015-05-19Fixed #24784 -- Fixed visibility regression in admin's FK widget.Tim Graham
2015-05-19Fixed #24818 -- Prevented models.CharField from accepting a string as max_lengthAlasdair Nicol
2015-05-18Added backwards compatibility for assertRaisesMessage callable_obj param.Tim Graham
This was broken in c2bc1cefdcbbf074408f4a4cace88b315cf9d652 (refs #23763).
2015-05-18Fixed #24805 -- Delayed check for locale_dir in makemessagesClaude Paroz
Thanks Wim Feijen for the report.
2015-05-17Dropped the needs_datetime_string_cast feature.Aymeric Augustin
It has been superseded by the converter infrastructure.
2015-05-17Refactored datetime handling in the database cache backend.Aymeric Augustin
Took advantage of the new database adapters and converters.
2015-05-17Fixed #23820 -- Supported per-database time zone.Aymeric Augustin
The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error.
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 adapters.Aymeric Augustin
Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
2015-05-17Normalized the implementation of get_db_converters.Aymeric Augustin
Put the types in the same order and checked for None consistently.
2015-05-17Removed global timezone-aware datetime converters.Aymeric Augustin
Refs #23820.
2015-05-16Removed redundant list() calls.Tim Graham
2015-05-16Refs #23763 -- Silenced SimpleTestCase.assertRaisesMessage() deprecation ↵Tim Graham
warning on Python 3.5. Deprecation warning was introduced in https://bugs.python.org/issue24134
2015-05-16Fixed #24774 -- Made contrib.site's Site.domain field uniquePiotr Jakimiak
2015-05-15Fixed #24791 -- Added fallback when 'postgres' database isn't availableClaude Paroz
Thanks Carl Meyer and Tim Graham for the reviews.
2015-05-15Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAINBo Lopker
2015-05-15Fixed #24757 -- Recreated MySQL index when needed during combined index removalClaude Paroz
Thanks Thomas Recouvreux for the report and Tim Graham for the tests and review.
2015-05-15Added contrib.gis.admin.__all__Tim Graham
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-13Fixed #24751 -- Fixed HStoreField isnull lookup.Tim Graham
2015-05-12Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callableAbhaya Agarwal
2015-05-12Fixed #24156 -- Fixed inherited related name of ManyToManyField.Andriy Sokolovskiy
Fixed situation when parent abstract model declares related_name='+', and child models had an invalid queryset.
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-11Fixed #24553 -- Added the list of available applications to ↵Riccardo Magliocchetti
AdminSite.each_context()
2015-05-11Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queriesAnssi Kääriäinen
When the query's model had a self-referential foreign key, the compiler.get_group_by() code incorrectly used the self-referential foreign key's column (for example parent_id) as GROUP BY clause when it should have used the model's primary key column (id).
2015-05-11Fixed #24766 -- Added join promotion for Case expressionsAnssi Kääriäinen
2015-05-11Removed redundant removal of hyphens in UUIDField.Matt Robenolt
2015-05-08Fixed #24758 -- Corrected Options.get_fields() docstring.Tim Graham
2015-05-08Fixed #24771 -- Simplified ModelForm._post_clean()Peter Schmidt
This code added in 45e049937d2564d11035827ca9a9221b86215e45 is no longer necessary to pass the model_formsets_regress tests as of 5e2c4a4bd1f86962842783e0b42ada7b9c14c247.
2015-05-08Replaced multiple startswith in syndication/views.pyPiotr Jakimiak
2015-05-07Used LogEntry methods to check LogEntry action_flag in __str__Piotr Jakimiak
2015-05-07Fixed logging regression introduced in bbe28496d32f76ca161f5c33787d6ad62267fcc6Tim Graham
2015-05-06Moved engine-related exceptions to django.template.exceptions.Preston Timmons
With the introduction of multiple template engines these exceptions are no longer DTL-specific. It makes more sense for them to be moved out of DTL-related modules.
2015-05-06Fixed #24119, #24120 -- Formalized debug integration for template backends.Preston Timmons
2015-05-06Fixed #24207 -- Added 25D-type geometry field support to ogrinspectClaude Paroz
Thanks Michael Diener for the report and sample data, and Tim Graham for the review.
2015-05-06Fixed #24750 -- Updated two contrib.gis comment linksTim Graham
2015-05-06Fixed #16609 -- Fixed duplicate admin results when searching nested M2M ↵Samuel Paccoud
relations. This was fixed earlier but only when the M2M relation was at the first level on the object. This commit fixes the issue even when the M2M is at deeper levels, such as behind a foreign key.
2015-05-06Fixed #24497 -- Added Widget.supports_microseconds attributewdmgsm
2015-05-06Fixed #24708 -- Handled non-string values in GenericIPAddressField.to_python()Pradeek
2015-05-05Improved formatting of auth model fields.Edvinas Jurevicius
2015-05-05Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be ↵Dan Watson
used without auth in INSTALLED_APPS