Open gasper101 opened 8 months ago
I have been following your tutorial on how to create a django app on here: https://mwass.hashnode.dev/developing-an-inventory-management-system-with-django-and-bootstrap
But about halfway into the project I get an error when running :
python manage.py makemigrations and python manage.py migrate
python manage.py makemigrations
python manage.py migrate
This is the error:
RuntimeError: Model class inventory.models.UserProfile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
What have I done wrong? I am using windows 11, Python 3.10.6, django 5.0.2
I'll investigate and get back to you.
I have been following your tutorial on how to create a django app on here: https://mwass.hashnode.dev/developing-an-inventory-management-system-with-django-and-bootstrap
But about halfway into the project I get an error when running :
python manage.py makemigrations
andpython manage.py migrate
This is the error:
RuntimeError: Model class inventory.models.UserProfile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
What have I done wrong? I am using windows 11, Python 3.10.6, django 5.0.2