myapp in the project, and defined models in models.py, then registered models in admin.py, but when I run makemigrations myapp, I face with this error:
No installed app with label 'myapp', whereas I added myapp to installed_apps.
Could you help me to resolve this problem?
show your project structure
so your app name is model and not myapp
Did you install the app in the Django settings?
Yes, i installed it.
Обсуждают сегодня