I'm trying to run a command that is supposed to import the models from an upper folder

I'm trying to run crate_university.py which is on the assessments/university/commands directory This should be importing from the models which is located at assessments/university/ folder
I have the following code:
from django.core.management.base import BaseCommand
from university.models import University, TeacherDegree, Teacher
Buen when I try to run the command I get the following error:
