`CommandError: Unknown model: djstripe.cd`
baselakasha opened this issue · comments
Basel Akasha commented
Describe the bug
A clear and concise description of what the bug is.
When I execute django migration and try to run python .manage.py djstripe_sync_models
, I get an error that says CommandError: Unknown model: djstripe.cd
To Reproduce
- Execute the command djstripe_sync_models on a new database
Software versions
- Dj-Stripe version: 2.8.1
- Python version: 3.11.3
- Django version: 4.0.4
- Stripe API version: Not sure, I have
stripe==4.2.0
python package - Database type and version: SQLITE.
Basel Akasha commented
Not sure what caused this. But I deleted my database and tried again and it worked.