8👍
✅
Django does not know this command since it is not listed anywhere. When you want to run a command with manage.py
, use Django’s Admin Command.
EDIT Or if you really want to use django_extensions
for some reason, use their GitHub docs as reference. There it states you need to add this app to INSTALLED_APPS
:
INSTALLED_APPS = (
...
'django_extensions',
...
)
3👍
Check the installation:
https://django-extensions.readthedocs.io/en/latest/installation_instructions.html
I guess you have missed this:
INSTALLED_APPS = (
...
'django_extensions',
)
- [Django]-How frequently should Python decorators be used?
- [Django]-How to define get_queryset, get_context_data in a django view?
- [Django]-NameError: name PositiveSmallIntegerField is not defined
- [Django]-Using Python 3.7 on Pycharm gives me: "Error: Django is not importable in this environment"
Source:stackexchange.com