summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-14Fixed runtests.py message about parallel processes.Aymeric Augustin
It didn't work anymore since the commit that enabled test parallelization by default because parallel was equal to 0 at that point.
2015-09-14Prevented --parallel from crashing on Windows.Aymeric Augustin
Since --parallel is documented not to work on Windows, it's better to ignore it and run without parallelization than to crash. For example this could simplify cross-platform test scripts.
2015-09-14Fixed #25369 -- Corrected syndication's get_object() example.Tim Graham
2015-09-14Reverted "Fixed #25203 -- Documented how to pass Apache environment ↵Tim Graham
variables to Django." As discussed on the ticket, this isn't a pattern we should recommend. This reverts commit 47016d4322574860f90431e1c87d19f7a1f778c6.
2015-09-14Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*').Adam Chainz
2015-09-14Fixed #25393 -- Fixed MySQL crash when adding text/blob field with ↵Ville Skyttä
unhashable default.
2015-09-14Fixed typo in django/forms/utils.py docstring.Kholid Fuadi
2015-09-12Refs #25386 -- Added links to the OPTIONS of the built-in template backends.Tim Graham
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-12Fixed #25384 -- Ordered imports in newly created migration filesMarkus Holtermann
Partial forwardport of 3cc5cc79584b66dafac54264d072ac1206426471 from stable/1.8.x as the issue was already fixed in master in a7bc00e17bebe34cdf23f744937b3c386ee73d81
2015-09-12Cleaned up surrounding documentationMarkus Holtermann
2015-09-12Refs #24919 -- Raised more helpful error message for disabled migrationsMarkus Holtermann
2015-09-12Fixed #24919 -- Allowed disabling of migrations on a per app basisMarkus Holtermann
2015-09-11Fixed #24765 -- Allowed template context updates to flatten a Context.Buddy Lindsey, Jr
2015-09-11Refs #25381 -- Clarified that AppConfig model methods search only the ↵Tim Graham
current app.
2015-09-11Fixed #25203 -- Documented how to pass Apache environment variables to Django.Paul Rentschler
2015-09-11Fixed #25382 -- Removed obsolete references to DateQuerySet.Renato Oliveira
2015-09-11Renamed admin doc image files to match the documentation they are for.Ryan Allen
2015-09-11Fixed #25200 -- Updated admin screenshots in docs.Ryan Allen
2015-09-11Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.Malcolm Box
This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors.
2015-09-11Fixed #25351 -- Added example for database test settings to docs.Jose Carlos Menezes
2015-09-11Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X.Flavio Curella
2015-09-11Fixed #25329 -- Prevented _nodb_connection from being left openAdam Chainz
2015-09-10Fixed a GeoIP2 test failure with the latest GeoIP2 database.Tim Graham
Düsseldorf now appears as Dusseldorf in the latest version of the GeoIP2 database.
2015-09-10Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.Flavio Curella
Django 1.9 drops support for PostgreSQL 9.0 where creating a database using a template was needed.
2015-09-10And fixed merge accident :-(Aymeric Augustin
2015-09-10Adjusted previous commit.Aymeric Augustin
Sigh.
2015-09-10Refs #20461 -- Made tblib optional for a passing test run.Aymeric Augustin
This was the original intent.
2015-09-10Refs #20461 -- Fixed parallel test runner on Python 2.7.Collin Anderson
textwrap.indent() is new in Python 3.3.
2015-09-10Merge pull request #4761 from aaugustin/parallelize-tests-attempt-1Aymeric Augustin
Fixed #20461 -- Allowed running tests in parallel.
2015-09-10Documented that the parallel test runner doesn't work on Windows.Aymeric Augustin
2015-09-10Avoided running more test processes than necessary.Aymeric Augustin
This reduces the time spent cloning databases. Thanks Tim for the suggestion.
2015-09-10Enabled parallel testing by default in runtests.py.Aymeric Augustin
2015-09-09Made it easier to customize the parallel test runner.Aymeric Augustin
Subclass private APIs is marginally better than monkey-patching them, even if it doesn't make a big difference in practice.
2015-09-09Changed database connection duplication technique.Aymeric Augustin
This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES.
2015-09-09Propagated database clone settings to new connections.Aymeric Augustin
2015-09-09Test parallelization isn't implemented on Oracle.Aymeric Augustin
2015-09-09Acknoweldeged a limitation of the parallel test runner.Aymeric Augustin
Notably it will fail to report a Model.DoesNotExist exceptions because the class itself isn't pickleable. (Django has specific code to make its instances pickleable.)
2015-09-09Serialized some tests that interact with the filesystem.Aymeric Augustin
Considering the APIs exercised by these test cases, it's hard to make them independent.
2015-09-09Introduced a mixin for serializing tests.Aymeric Augustin
2015-09-09Prevented staticfiles test from colliding when run in parallel.Aymeric Augustin
This requires that each test never alters files in static directories collected by other tests. The alternative is to add a temporary directory to STATICFILES_DIRS or a new app to INSTALLED_APPS.
2015-09-09Allowed a port range for the liveserver by default.Aymeric Augustin
This is required for running tests in parallel.
2015-09-09Adjusted tests that were messing with database connections too heavily.Aymeric Augustin
The previous implementation would result in tests hitting the wrong database when running tests in parallel on multiple databases.
2015-09-09Supported running admin_script testcases concurrently.Aymeric Augustin
2015-09-09Changed strategy for removing TMPDIR in runtests.py.Aymeric Augustin
Previously, a traceback would be displayed on exit because: - using some multiprocessing features creates a temporary directory - this directory would be inside TMPDIR - multiprocessing would attempt to remove it when a particular object was deallocated, after runtests.py had already removed it along with everything else in TMPDIR.
2015-09-09Cloned databases for running tests in parallel.Aymeric Augustin
2015-09-09Implemented a parallel test runner.Aymeric Augustin
2015-09-09Fixed #25372 -- Fixed autocompletion for options of non-argparse commands.Daniel Hahler
2015-09-09Refs #22258 -- Fixed an unclosed temporary file in fixtures test.Tim Graham
This prevented the temporary directory from being removed on Windows.
2015-09-09Fixed #25371 -- Added reverse_sql and reverse_code examples to docs.Bibhas