Browse Source

Atualiza assinatura de LegacyRouter.allow_migrate

pull/1914/head
Marcio Mazza 7 years ago
parent
commit
444e9dacad
  1. 4
      sapl/legacy/router.py

4
sapl/legacy/router.py

@ -16,7 +16,7 @@ class LegacyRouter:
return True
return None
def allow_migrate(self, db, model):
if model._meta.app_label == 'legacy':
def allow_migrate(self, db, app_label, model_name=None, **hints):
if app_label == 'legacy':
return False
return None

Loading…
Cancel
Save