summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-09-16Fixed #25294 -- Allowed custom BoundFields on forms.Moritz Sichert
2015-09-15Fixed #25404 -- Added line numbers to TemplateSyntaxError strings.Dave Smith
This makes it much easier to diagnose a test failure when all you have is the stack trace from an uncaught TemplateSyntaxError.
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 #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-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
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-11Fixed #25382 -- Removed obsolete references to DateQuerySet.Renato Oliveira
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 #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-10Documented that the parallel test runner doesn't work on Windows.Aymeric Augustin
2015-09-10Enabled parallel testing by default in runtests.py.Aymeric Augustin
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-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-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-09Refs #22258 -- Fixed an unclosed temporary file in fixtures test.Tim Graham
This prevented the temporary directory from being removed on Windows.
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-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 #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-05Moved an import to the toplevel.Aymeric Augustin
2015-09-05Cleaned up docstrings in csrf_tests/tests.py.Joshua Kehn
2015-09-05Fixed #25334 -- Provided a way to allow cross-origin unsafe requests over HTTPS.Joshua Kehn
Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other domains that are included during the CSRF Referer header verification for secure (HTTPS) requests.
2015-09-05Fixed #24525 -- Fixed AssertionError in some complex queries.Tim Graham
Thanks Anssi Kääriäinen for providing the solution.
2015-09-04Fixed #25297 -- Allowed makemessages to work with {% trans %} tags that use ↵Alexandre Pocquet
template filters.
2015-09-04Fixed #25353 -- Changed LogEntry.action_time to a "date created".Tim Graham
2015-09-04Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost.Vlastimil Zíma
2015-09-04Fixed #25348 -- Removed unused gif/png images from contrib.admin.elky
2015-09-04Fixed GeoIP test crash when dependencies not installed.Tim Graham
2015-09-04Refs #25345 -- Updated links to code.google.com.Maxime Lorant
2015-09-04Fixed #19263 -- Fixed crash when filtering using __in and an empty QuerySet.Tim Graham
Thanks Marcin Biernat for the initial patch and tests.
2015-09-03Fixed #25058 -- Added GenericRelations with related_query_name to the ↵sarthakmeh
admin's delete confirmation page.
2015-09-03Removed some test settings following removal of compatibility checks.Tim Graham
2015-09-03Fixed #25335 -- Fixed regression where QuerySet.iterator() didn't return an ↵Gavin Wahl
iterator.
2015-09-02Fixed #25246 -- Guarded against duplicate paths in AppConfig.Caio Ariede
2015-09-01Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵Tim Graham
compatibility. Thanks Tom Christie for the report and review.