开发者

Django : unknown application

开发者 https://www.devze.com 2023-03-27 16:40 出处:网络
I want to dump my data from the model of my app in Django. So I tr开发者_C百科ied the following python manage.py dumpdata app > temp_data.json (from this answer)

I want to dump my data from the model of my app in Django.

So I tr开发者_C百科ied the following python manage.py dumpdata app > temp_data.json (from this answer)

where "app" is an app I created via python manage.py startapp app

It throws me the following error :

Error: Unknown application: asset

Can someone help me to figure out what's going on ?


Is the app listed in your settings.py in INSTALLED_APPS?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号