Hello,
I am actually using show_urls of django-extensions but it sadly throws me the error that he does not recognizes the command despite the fact that it is added in my settings.py Installed Apps.
django.core.management.base.CommandError: Unknown command: 'show_urls'```
I have every versions up to date (django, poetry, python, pip, django-extensions).
This is where my error occurs : ```python
def get_views() -> set[str]:
try:
command_result_as_json: str = call_command("show_urls", format="json")
command_result_as_dict: dict = json.loads(command_result_as_json)
all_views: set[str] = set([result["module"] for result in command_result_as_dict])
return all_views - VIEWS_TO_IGNORE
except Exception as e:
print(f"Error: {e}")
return set()```
Anyone has any idea on why this could occur ? Or any idea how to debug ?