[Fixed]-Cyclic import error

1👍

I guess you meet the cyclic imports problem.

An easy way to fix it is import Pupils later:

def where_you_need_pupils():
    from pupils.models import Pupils
    # do something
👤Kxrr

Leave a comment