I'm using Django 3.2 and Python 3.9. I have this project directory setup
+ cbapp
- manage.py
- settings.py
+ models
- __init__.py
- crypto_currency.py
In my settings.py file, I have
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'cbapp',
]
I want to dump some data to a fixtures file, so I tried
$ python3 manage.py dumpdata cbapp.models.crypto_currency > ./cbapp/fixtures/crypto_currency.json
CommandError: No installed app with label 'cbapp.models.crypto_currency'.
What's the proper way to reference my model to dump data?