mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
replaced occurrences of master/slave terminology with leader/follower
This commit is contained in:
@@ -4,7 +4,7 @@ from django.db import DEFAULT_DB_ALIAS
|
||||
|
||||
|
||||
class TestRouter(object):
|
||||
# A test router. The behavior is vaguely master/slave, but the
|
||||
# A test router. The behavior is vaguely leader/follower, 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