membershipworks: Allow migrations for membershipworks database
This commit is contained in:
parent
bfefa840ea
commit
365efdacf7
@ -13,8 +13,8 @@ class MembershipWorksRouter:
|
||||
return None
|
||||
|
||||
def allow_migrate(self, db, app_label, model_name=None, **hints):
|
||||
if db == self.db:
|
||||
return False
|
||||
if app_label == self.app_label:
|
||||
return db == self.db
|
||||
return None
|
||||
|
||||
def allow_relation(self, obj1, obj2, **hints):
|
||||
|
Loading…
Reference in New Issue
Block a user