You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.venv/lib/python3.6/site-packages/django/db/models/manager.py:82: in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
.venv/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py:565: in get_queryset
return self._apply_rel_filters(queryset)
.venv/lib/python3.6/site-packages/django/db/models/fields/related_descriptors.py:541: in _apply_rel_filters
db = self._db or router.db_for_read(self.model, instance=self.instance)
.venv/lib/python3.6/site-packages/django/db/utils.py:258: in _route_db
chosen_db = method(model, **hints)
.venv/lib/python3.6/site-packages/multidb/__init__.py:114: in db_for_read
return get_replica()
.venv/lib/python3.6/site-packages/multidb/__init__.py:86: in get_replica
return next(_get_replica_list())
.venv/lib/python3.6/site-packages/multidb/__init__.py:78: in _get_replica_list
settings.DATABASES[db].get('TEST', {})['MIRROR'] = DEFAULT_DB_ALIAS
E KeyError: 'readonly'
It looks to me like it isn't finding the database named 'readonly', but this only happens when we change the names as per the deprecation warning.
The text was updated successfully, but these errors were encountered:
Everything worked fine with v0.6 and the following:
But with v0.9 and only the following changes:
I get the following error:
It looks to me like it isn't finding the database named
'readonly'
, but this only happens when we change the names as per the deprecation warning.The text was updated successfully, but these errors were encountered: