[Fixed]-Why I am getting django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet?

1👍

I don’t think the LeaseFilter class belongs in your models. It looks as if it is trying to do queries when the class is loaded. Since the models haven’t loaded yet, this causes the error. Try moving the class somewhere else, for example your views.py.

Leave a comment