mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed #22667 -- Replaced leader/follower terminology with primary/replica
This commit is contained in:
parent
ad994a3c5b
commit
beec05686c
7 changed files with 85 additions and 82 deletions
|
|
@ -4,7 +4,7 @@ from django.db import DEFAULT_DB_ALIAS
|
|||
|
||||
|
||||
class TestRouter(object):
|
||||
# A test router. The behavior is vaguely leader/follower, but the
|
||||
# A test router. The behavior is vaguely primary/replica, but the
|
||||
# databases aren't assumed to propagate changes.
|
||||
def db_for_read(self, model, instance=None, **hints):
|
||||
if instance:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue