django_hstore_widget.checks

Module Contents

django_hstore_widget.checks.check_database_backend_is_postgres(app_configs, **kwargs)

System check that warns when the default DB backend is not PostgreSQL.

HStore requires the hstore extension, which is only available on PostgreSQL. This check runs during manage.py check and manage.py migrate.

پارامترها:
  • app_configs (list) -- The application configurations being checked.

  • **kwargs -- Additional keyword arguments from the check runner.

بازگشت ها:

A list containing a warning if the default database engine does not include postgres or postgis.

نوع برگشتی:

list[Warning]