mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #22667 -- Replaced leader/follower terminology with primary/replica
This commit is contained in:
committed by
Tim Graham
parent
ad994a3c5b
commit
beec05686c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user