fengsp / django-grpc-framework

gRPC for Django.
https://djangogrpcframework.readthedocs.io/
Apache License 2.0
390 stars 52 forks source link

attribute adjustment requires_system_checks #37

Closed deborahohannefluency closed 2 years ago

deborahohannefluency commented 2 years ago

FIX: fix for requires_system_checks attribute as in Django version 4.1 there was a change to this attribute in the file

django/core/management/base.py

at the link https://github.com/django/django/commit/1cb495074f6d983096a015736fed16176588cd33#

the change is described,

the attribute previously received a boolean value, but has been changed to receive a list or tuple

"Using a boolean value for requires_system_checks is " "deprecated. Use 'all' instead of True, and [] (an empty " "list) instead of False.",

the change was performed and the requires_system_checks attribute now receives an empty list[] as False