You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database.py 261B

1234567891011
  1. from django.db import connections
  2. from . import Tags, register
  3. @register(Tags.database)
  4. def check_database_backends(*args, **kwargs):
  5. issues = []
  6. for conn in connections.all():
  7. issues.extend(conn.validation.check(**kwargs))
  8. return issues