--> After open Django shell
from django.apps import apps
for _class in apps.get_models():
if _class.__name__.startswith('Historycal'):
continue
globals()[_class.__name__] = _class
--> After open Django shell
from django.apps import apps
for _class in apps.get_models():
if _class.__name__.startswith('Historycal'):
continue
globals()[_class.__name__] = _class