summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-09-09Refs #25300 -- Fixed reference to TextInput in a test.Moritz Sichert
2015-09-08Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.Ola Sitarska
Thanks Jaap Roes for the idea and initial patch.
2015-09-08Fixed #25350 -- Added alias --no-input for --noinput to management commands.Raphael Michel
2015-09-07Refs #24215 -- Improved error message for unhandled lazy model operations.Alex Hill
2015-09-07Fixed #24857 -- Added "python -m django" entry point.Ryan Hiebert
2015-09-07Fixed typos in django/db/models/query.py docstrings.Nick Pope
2015-09-07Fixed #25356 -- Removed default_app_config from startapp template.Tim Graham
Also discouraged its use outside the intended use case.
2015-09-07Removed 'Test that' prefix from admindocs tests.Zan Anderle
2015-09-07Fixed #24917 -- Made admindocs display model methods that take arguments.Zan Anderle
2015-09-07Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError raised ↵Keryn Knight
when constructing the model instance. Thanks Loïc Bistuer for review and advice.
2015-09-07Fixed #25365 -- Fixed visual issues in filter_vertical widget introduced by ↵elky
SVG icons commit.
2015-09-07Refs #25328 -- Refactored LiveServerTestCase to make it extensible.Jakub Gocławski
2015-09-07Fixed #25200 -- Updated tutorial screenshots for new admin theme.elky
2015-09-07Fixed #11544 -- Removed !important rules in contrib.admin styles.elky
2015-09-07Fixed #25358 -- Improved variable name for question in tutorial.Alasdair Nicol
2015-09-06Simplified deduplication of test databases.Aymeric Augustin
Use the same code path for: - a database that has the same settings as another database (as defined by test_db_signature) - a database this is defined as a mirror of another database There's no conceptual difference between these two cases. Thanks Shai for the suggestion.
2015-09-06Stopped returning mirrors from setup_databases.Aymeric Augustin
The return value of setup_databases is only used as an argument for teardown_databases which doesn't need mirrors.
2015-09-06Fixed #25357 -- Database deduplication on Oracle.Aymeric Augustin
In order to reuse another database, Django must use set_as_test_mirror.
2015-09-06Split setup_databases.Aymeric Augustin
It contained two sections separated by comments. It makes more sense to put each section in its own function.
2015-09-05Moved an import to the toplevel.Aymeric Augustin