summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-11-18Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov
2014-11-18Fixed #23799 -- Made makemigrations respect --no-optimize.Tillmann Karras
Thanks to yamila-moreno for the idea of a skip message.
2014-11-17Normalized check that ALLOWED_INCLUDE_ROOTS is a tuple.Aymeric Augustin
2014-11-17Fixed #23859 -- Fixed a migration crash when a field is renamed that is part ↵Markus Holtermann
of an index_together
2014-11-17Avoided unneeded calls to state.render() in migrations.twidi
2014-11-17Reordered condition to avoid calling allow_migrate() if unneeded.twidi
2014-11-17Moved bilateral transform fetching to models.lookupsAnssi Kääriäinen
2014-11-17Added assertion error message for test_make_lineClaude Paroz
Refs #23842. Thanks Thomas Chaumeny for the suggestion.
2014-11-17Improved readability of negative condition in makemessagesClaude Paroz
Thanks Berker Peksag for the suggestion.
2014-11-17Simplified handle_extensions management utilityClaude Paroz
makemessages now doesn't need any special ignoring logic, after commit bb4a92d784.
2014-11-17Fixed #23840 -- Fixed makemessages find_files methodIlja Maas
Changed the handling of extensions to be used for gettext. Now obeying the --extension argument. find_files now only find the given or default extensions and puts only these in the TranslatableFiles. As a result there are no more confusing messages for filetypes (extension) not handled by makemessages.
2014-11-16Removed support for function-based template loaders.Aymeric Augustin
They were deprecated in Django 1.2 but not all the supporting code was removed in Django 1.4. Since the remaining code was unlikely to be functional (pun intended) e.g. it would crash unless the loader function had an is_usable attribute, this commit completes the removal immediately instead of starting another deprecation path.
2014-11-16Used get_template_loaders in the cached loader.Aymeric Augustin
This ensures that enabling the cached loader doesn't change behavior. (Before this commit, it did when the list contained unusable loaders.)
2014-11-16Refactored getting the list of template loaders.Aymeric Augustin
This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader.
2014-11-16Deprecated function-based loaders.Aymeric Augustin
2014-11-16Removed obsolete comment.Aymeric Augustin
It didn't account for class-based template loaders.
2014-11-16Removed override_template_loaders and override_with_test_loader.Aymeric Augustin
They can be replaced with override_settings and that makes the corresponding tests much more obvious.
2014-11-16Refactored listing template subdirectories in apps.Aymeric Augustin
This change has the nice side effect of removing code that ran at import time and depended on the app registry at module level -- a notorious cause of AppRegistryNotReady exceptions.
2014-11-16Removed skip_template argument of locmem.Loader.load_template_source.Aymeric Augustin
It didn't do anything, wasn't documented and wasn't used anywhere.
2014-11-16Removed the "test:" prefix from locmem template identifiers.Aymeric Augustin
Since it isn't branded as a test utility any more and could be used for other purposes than test code, that prefix no longer makes sense. It wasn't used anywhere either.
2014-11-16Moved all template loaders under django.template.loaders.Aymeric Augustin
Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API.
2014-11-16Fixed regression in 4dc4d12e. Refs #21598.Aymeric Augustin
That commit contained a mistake that resulted in the use_cached_loader option of override_with_test_loader being ignored. As a consequence some configurations weren't exercised any more by the test suite.
2014-11-16Fixed #21612 -- Made QuerySet.update() respect to_fieldKaren Tracey
2014-11-16Renamed qn to compilerJosh Smeaton
2014-11-16Merge pull request #3526 from gregorth/ticket_23585Marc Tamlyn
Fixed #23585 - Corrected internal comment.
2014-11-15Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign().Berker Peksag
2014-11-15Merge pull request #3536 from Zweedeend/ticket_23837Carl Meyer
Fixes #23837: Replace list with deque in migration-planner for improved performance.
2014-11-15Added a new GeoJSON serialization format for GeoDjangoClaude Paroz
Thanks Reinout van Rees for the review.
2014-11-15Fixed #23835: Changed circular dependency in DFS to be less infiniteAndrew Godwin
2014-11-15Refs #23793 -- Fixed test failure after password reset messages clarificationErik Romijn
2014-11-15Merge pull request #3531 from ddaan/ticket_23834Marc Tamlyn
fixed #23834 -- added test and fix to check for default null on ArrayField
2014-11-15Fixes #23837: Replace list.pop(0) by deque.popleft() in dfs function in ↵Niels Kouwenhoven
migrations
2014-11-15Fixed #23793 -- Clarified password reset messages.Yigit Guler
2014-11-15added test and fix to check for default null on ArrayFieldDaan Vielen
2014-11-15Revert "Use topological sort for migration operation dependency resolution"Tim Graham
This commit broke the tests on Python 3. This reverts commit 13d613f80011852404198dfafd1f09c0c0ea42e6.
2014-11-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-11-15Use topological sort for migration operation dependency resolutionKlaas van Schelven
rather than an ad-hoc algorithm
2014-11-15Fixed #23585 - Corrected internal comment.Grzegorz Slusarek
Removed misleading comment and provide correct one, explaining idea behind hardcoded CSRF template context processor.
2014-11-15Fixed #22407 -- Added AdminEmailHandler.send_mail().Berker Peksag
2014-11-13Merge pull request #3481 from manfre/ticket-16358Michael Manfre
Fixed #16358 - Made memcache backend delete old value on a failure to set.
2014-11-13Fixed #23765 -- Removed BooleanField default check which often yielded false ↵Tim Graham
positives.
2014-11-13Removed thread customizations of six which are now built-in.Tim Graham
2014-11-13Fixed #16358 - Made memcache backend delete old value on a failure to set.Michael Manfre
Default Memcached configuration allows for a maximum object of 1MB and will fail to set the key if it is too large. The key will be deleted from memcached if it fails to be set. This is needed to avoid an issue with cache_db session backend using the old value stored in memcached, instead of the newer value stored in the database.
2014-11-12Fixed #23795 -- Fixed a regression in custom form fieldsBaptiste Mispelon
Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report.
2014-11-12Removed return from __init__.Aymeric Augustin
__init__ isn't allowed to return anything other than None and it isn't common practice to include a return statement.
2014-11-12Remove Field.get_validator_unique_lookup_type()Tim Graham
Usage of this method was removed pre 1.0 (c2ba59fc).
2014-11-12Fixed #23730 -- Moved support for SimpleCookie HIGHEST_PROTOCOL pickling to ↵Tim Graham
http.cookie. This fix is necessary for Python 3.5 compatibility (refs #23763). Thanks Berker Peksag for review.
2014-11-12Removed extra enumerate() from Query.setup_joins()Anssi Kääriäinen
2014-11-12Fixed #22967 -- Made Model._do_update consistentJozef Knaperek
Made _do_update behave more strictly according to its docs, including a corner case when specific concurent updates are executed and select_on_save is set.
2014-11-12Improved Query.names_to_path docstringAnssi Kääriäinen