So, maybe it's a mistake this backend returns (always) that is usable:
{{{
def is_usable(self):
return True
}}}
This code can be seen in the repository
[[https://github.com/django/django/blob/60e52a047e55bc4cd5a93a8bd4d07baed27e9a22/django/db/backends/dummy/base.py#L72-L73|here]].
--
Ticket URL: <https://code.djangoproject.com/ticket/29223>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* component: Uncategorized => Database layer (models, ORM)
* type: Uncategorized => Bug
Comment:
That method was added in 25ce177e66fb0e88a39806f5a493e03f1801775a. Looking
at Django's current usage if `is_usable()`, I don't think changing it for
the dummy backend will have any effect. Is your report mostly theoretical?
--
Ticket URL: <https://code.djangoproject.com/ticket/29223#comment:1>
* status: new => closed
* resolution: => needsinfo
--
Ticket URL: <https://code.djangoproject.com/ticket/29223#comment:2>