Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #25390 -- Allowed specifying a start migration in ↵ | Markus Holtermann | 2015-09-19 | 1 | -0/+31 | |
| | | | | | | squashmigrations Thanks Tim Graham for the review. | |||||
* | Fixed #24743, #24745 -- Optimized migration plan handling | Markus Holtermann | 2015-09-19 | 3 | -0/+83 | |
| | | | | | | | | | | | | | | | | The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue. | |||||
* | Fixed #25269 -- Allowed method_decorator() to accept a ↵ | fabrizio ettore messina | 2015-09-19 | 1 | -8/+73 | |
| | | | | list/tuple of decorators. | |||||
* | Fixed #24944 -- Added extra_email_context parameter to ↵ | sujayskumar | 2015-09-19 | 3 | -0/+15 | |
| | | | | password_reset() view. | |||||
* | Fixed #13110 -- Added support for multiple enclosures in ↵ | Unai Zalakain | 2015-09-19 | 3 | -7/+104 | |
| | | | | | | | | | | | | | Atom feeds. The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is then used by the feed builder. If the feed is a RSS feed, an exception is raised as RSS feeds don't allow multiple enclosures per feed item. The ``item_enclosures`` hook defaults to an empty list or, if the ``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure`` built from the ``item_enclosure_url``, ``item_enclosure_length``, and ``item_enclosure_mime_type`` hooks. | |||||
* | Fixed #25417 -- Added a field check for invalid default ↵ | Simon Charette | 2015-09-18 | 1 | -0/+68 | |
| | | | | values. | |||||
* | Fixed #24636 -- Added model field validation for decimal ↵ | Iulia Chiriac | 2015-09-18 | 2 | -5/+42 | |
| | | | | places and max digits. | |||||
* | Refs #25422 -- Added a test for a template tag with type ↵ | Thomas Orozco | 2015-09-18 | 2 | -0/+15 | |
| | | | | | | | annotations. This doesn't work in Django 1.8 but was fixed in Django 1.9 as a side effect of another change. | |||||
* | Fixed #25034 -- Converted caches ImproperlyConfigured ↵ | Tom Christie | 2015-09-18 | 1 | -0/+35 | |
| | | | | error to a system check. | |||||
* | Refs #20625 -- Forwardported tests and release notes for ↵ | Aric Coady | 2015-09-18 | 1 | -0/+4 | |
| | | | | | | | | queryset chaining fix. The issue was fixed on master due to the removal of ValuesQuerySet. Partial forwardport of 7d471fe6626de2b36b97ac04086d8ea307be8288 from stable/1.8.x | |||||
* | Refs #14091 -- Fixed connection.queries on SQLite. | Aymeric Augustin | 2015-09-17 | 2 | -39/+25 | |
| | ||||||
* | Added a version requirement to mysqlclient in test ↵ | Tim Graham | 2015-09-17 | 1 | -1/+2 | |
| | | | | requirements. | |||||
* | Added a version requirement to python-memcached in test ↵ | Tim Graham | 2015-09-17 | 1 | -1/+2 | |
| | | | | requirements. | |||||
* | Fixed #25400 -- Fixed regression in nonexistent features ↵ | Daniel Hahler | 2015-09-17 | 1 | -0/+8 | |
| | | | | on gis backends. | |||||
* | Refs #25294 -- Moved BoundField to django.forms.boundfield. | Moritz Sichert | 2015-09-16 | 1 | -0/+3 | |
| | ||||||
* | Refs #25149 -- Fixed regression in admin datetime widget ↵ | Gavin Wahl | 2015-09-16 | 1 | -0/+15 | |
| | | | | for timezones on the negative side of UTC. | |||||
* | Fixed #24496 -- Added CSRF Referer checking against ↵ | Matt Robenolt | 2015-09-16 | 2 | -38/+111 | |
| | | | | | | | CSRF_COOKIE_DOMAIN. Thanks Seth Gottlieb for help with the documentation and Carl Meyer and Joshua Kehn for reviews. | |||||
* | Fixed #25294 -- Allowed custom BoundFields on forms. | Moritz Sichert | 2015-09-16 | 1 | -0/+11 | |
| | ||||||
* | Fixed #25404 -- Added line numbers to ↵ | Dave Smith | 2015-09-15 | 3 | -6/+15 | |
| | | | | | | | TemplateSyntaxError strings. This makes it much easier to diagnose a test failure when all you have is the stack trace from an uncaught TemplateSyntaxError. | |||||
* | Fixed runtests.py message about parallel processes. | Aymeric Augustin | 2015-09-14 | 1 | -2/+3 | |
| | | | | | | It didn't work anymore since the commit that enabled test parallelization by default because parallel was equal to 0 at that point. | |||||
* | Prevented --parallel from crashing on Windows. | Aymeric Augustin | 2015-09-14 | 1 | -4/+1 | |
| | | | | | | 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. | |||||
* | Fixed #25377 -- Changed Count queries to execute ↵ | Adam Chainz | 2015-09-14 | 3 | -12/+19 | |
| | | | | COUNT(*) instead of COUNT('*'). | |||||
* | Fixed #25393 -- Fixed MySQL crash when adding text/blob ↵ | Ville Skyttä | 2015-09-14 | 1 | -0/+12 | |
| | | | | field with unhashable default. | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 111 | -1449/+5104 | |
| | ||||||
* | Refs #24919 -- Raised more helpful error message for ↵ | Markus Holtermann | 2015-09-12 | 1 | -0/+13 | |
| | | | | disabled migrations | |||||
* | Fixed #24919 -- Allowed disabling of migrations on a per ↵ | Markus Holtermann | 2015-09-12 | 1 | -0/+23 | |
| | | | | app basis | |||||
* | Fixed #24765 -- Allowed template context updates to ↵ | Buddy Lindsey, Jr | 2015-09-11 | 1 | -0/+54 | |
| | | | | flatten a Context. | |||||
* | Fixed #25382 -- Removed obsolete references to DateQuerySet. | Renato Oliveira | 2015-09-11 | 2 | -4/+4 | |
| | ||||||
* | Fixed #25374 -- Made ModelAdmin checks work on instances ↵ | Malcolm Box | 2015-09-11 | 3 | -66/+67 | |
| | | | | | | | instead of classes. This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors. | |||||
* | Fixed #25329 -- Prevented _nodb_connection from being ↵ | Adam Chainz | 2015-09-11 | 1 | -2/+0 | |
| | | | | left open | |||||
* | Fixed a GeoIP2 test failure with the latest GeoIP2 database. | Tim Graham | 2015-09-11 | 1 | -2/+2 | |
| | | | | | Düsseldorf now appears as Dusseldorf in the latest version of the GeoIP2 database. | |||||
* | Documented that the parallel test runner doesn't work on ↵ | Aymeric Augustin | 2015-09-10 | 1 | -1/+4 | |
| | | | | Windows. | |||||
* | Enabled parallel testing by default in runtests.py. | Aymeric Augustin | 2015-09-10 | 2 | -5/+19 | |
| | ||||||
* | Changed database connection duplication technique. | Aymeric Augustin | 2015-09-09 | 3 | -27/+13 | |
| | | | | | | This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES. | |||||
* | Serialized some tests that interact with the filesystem. | Aymeric Augustin | 2015-09-09 | 2 | -7/+14 | |
| | | | | | Considering the APIs exercised by these test cases, it's hard to make them independent. | |||||
* | Prevented staticfiles test from colliding when run in ↵ | Aymeric Augustin | 2015-09-09 | 3 | -45/+56 | |
| | | | | | | | | parallel. 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. | |||||
* | Allowed a port range for the liveserver by default. | Aymeric Augustin | 2015-09-09 | 1 | -1/+1 | |
| | | | | This is required for running tests in parallel. | |||||
* | Adjusted tests that were messing with database ↵ | Aymeric Augustin | 2015-09-09 | 1 | -11/+26 | |
| | | | | | | | connections too heavily. The previous implementation would result in tests hitting the wrong database when running tests in parallel on multiple databases. | |||||
* | Supported running admin_script testcases concurrently. | Aymeric Augustin | 2015-09-09 | 1 | -29/+44 | |
| | ||||||
* | Changed strategy for removing TMPDIR in runtests.py. | Aymeric Augustin | 2015-09-09 | 1 | -9/+7 | |
| | | | | | | | | | 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. | |||||
* | Cloned databases for running tests in parallel. | Aymeric Augustin | 2015-09-09 | 1 | -2/+2 | |
| | ||||||
* | Implemented a parallel test runner. | Aymeric Augustin | 2015-09-09 | 1 | -7/+16 | |
| | ||||||
* | Refs #22258 -- Fixed an unclosed temporary file in ↵ | Tim Graham | 2015-09-09 | 1 | -16/+17 | |
| | | | | | | | fixtures test. This prevented the temporary directory from being removed on Windows. | |||||
* | Refs #25300 -- Fixed reference to TextInput in a test. | Moritz Sichert | 2015-09-09 | 1 | -2/+2 | |
| | ||||||
* | Fixed #25135 -- Deprecated the contrib.admin allow_tags ↵ | Ola Sitarska | 2015-09-09 | 3 | -9/+51 | |
| | | | | | | attribute. Thanks Jaap Roes for the idea and initial patch. | |||||
* | Refs #24215 -- Improved error message for unhandled lazy ↵ | Alex Hill | 2015-09-08 | 1 | -4/+34 | |
| | | | | model operations. | |||||
* | Fixed #24857 -- Added "python -m django" entry point. | Ryan Hiebert | 2015-09-08 | 1 | -0/+9 | |
| | ||||||
* | Fixed #25356 -- Removed default_app_config from startapp ↵ | Tim Graham | 2015-09-07 | 1 | -4/+0 | |
| | | | | | | template. Also discouraged its use outside the intended use case. | |||||
* | Removed 'Test that' prefix from admindocs tests. | Zan Anderle | 2015-09-07 | 1 | -4/+4 | |
| | ||||||
* | Fixed #24917 -- Made admindocs display model methods ↵ | Zan Anderle | 2015-09-07 | 3 | -1/+78 | |
| | | | | that take arguments. |