ADL_LRS icon indicating copy to clipboard operation
ADL_LRS copied to clipboard

ImportError: cannot import name get_app when Clearing the Database

Open eMelgooG opened this issue 4 years ago • 0 comments

Everything is working smoothly, just that when I try running this command: python manage.py clear_models

I get this error:

  File "/home/manu/ADL_LRS/adl_lrs/management/commands/clear_models.py", line 6, in <module>
    from django.db.models import get_app, get_models
ImportError: cannot import name get_app

eMelgooG avatar Oct 28 '20 09:10 eMelgooG