summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-19Cleaned up and reformatted autodetector testsMarkus Holtermann
2014-11-19Formatted model states in autodetector testsMarkus Holtermann
2014-11-19Fixed GeoSQLCompiler to pass itself correctly to column as_sql.Carl Meyer
2014-11-19Removed a deprecated use of SQLCompiler as quote_name in GIS.Carl Meyer
2014-11-19Fixed #22248 -- Made RenameModel reversibleStratos Moros
2014-11-19Removed nonexistent module django.test._doctest from coveragerc.Tim Graham
2014-11-18Fixed #23849 -- Documented the locmem.Loader class.Preston Timmons
2014-11-18Deprecated calling a SQLCompiler instance.Carl Meyer
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-17Fix malformed note directives.Carl Meyer
2014-11-17Fix link target markupÉric Araujo
This markup for a code block is redundant with the code-block directive below, and blocks the following line from working as link target.
2014-11-17Adjusted tests for previous commit.Aymeric Augustin
The test was testing a use case that doesn't happen in real world projects: developers don't assign settings at run time (and Django explicitly doesn't support it).
2014-11-17Normalized check that ALLOWED_INCLUDE_ROOTS is a tuple.Aymeric Augustin
2014-11-17Removed superfluous newline.Aymeric Augustin
2014-11-17Merge pull request #3563 from MarkusH/ticket23859Carl Meyer
Fixed #23859 -- Fixed a migration crash when a field is renamed that is part of an index_together
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-17Fixed #23855 -- Removed unnecessary all() in tutorial 3.Tim Graham
2014-11-17Moved bilateral transform fetching to models.lookupsAnssi Kääriäinen
2014-11-17Fixed #20435 -- Reordered the custom template tags docs.Daniel Roseman
Introduced the various shortcuts before explaining the more complex parser/render functionality. Also removed non-decorator syntax: it's been years since Django supported a Python version without decorators.
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-17Fixed a test to correctly calculate a fixture's relative path.Julien Phalip
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-16Added reminder to committing docs to test a PR with Jenkins first.Erik Romijn
2014-11-16Renamed qn to compilerJosh Smeaton
2014-11-16Merge pull request #3549 from psagers/masterJulien Phalip
Fixes a race condition in the documentation. The example for django.contrib.admin.ModelAdmin.get_form was modifying self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests. This updated documentation demonstrates a safe method to override admin forms on a per-request basis.
2014-11-16Merge pull request #3526 from gregorth/ticket_23585Marc Tamlyn
Fixed #23585 - Corrected internal comment.
2014-11-16Merge pull request #3524 from nmundar/ticket_23690Marc Tamlyn
Fixed #23690 - fixed examples of manual rendering of form fields
2014-11-16Designated Django 1.8 as the next LTS.Tim Graham
2014-11-16Removed references to the deprecated assertRaisesRegexp method.Simon Charette
2014-11-15Removed old version note in layermapping.txtClaude Paroz
2014-11-15Fixes a race condition in the documentation.Peter Sagerson
The example for django.contrib.admin.ModelAdmin.get_form modifies self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests.[1] This updated documentation demonstrates a safe method to override admin forms on a per-request basis. [1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
2014-11-15Fixed #23808 -- Documented that migrations table is created when using ↵Andreas Madsack
runserver without migrating first.
2014-11-15Added tests/README.rstDanilo Bargen