Unknown command: 'show_urls'

See original GitHub issue

Python==3.9 Django==3.2.13 django-extensions==3.1.5

pip3 install django-extensions Added to INSTALLED_APPS: django_extensions and my app

>>> import django_extensions
>>> django_extensions.VERSION
(3, 1, 5)

I have created an app and project using cookiecutter-django. I can run admin_generator, reset_db, makemigrations, migrate. show_urls is not listed in the subcommands. dumpdata is and I cannot use dumpdata.

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:

[django]
    check
    compilemessages
    createcachetable
    dbshell
    diffsettings
    dumpdata
    flush
    inspectdb
    loaddata
    makemessages
    makemigrations
    migrate
    runserver
    sendtestemail
    shell
    showmigrations
    sqlflush
    sqlmigrate
    sqlsequencereset
    squashmigrations
    startapp
    startproject
    test
    testserver

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
simkimsiacommented, Jun 18, 2022

This should be closed yes? @phommata

0reactions
phommatacommented, May 1, 2022

I was able to get django_extensions to appear in my project after playing around with the settings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown command: 'show_urls' on Django 2.0 #1140 - GitHub
Django 2.0 > python manage.py show_urls Unknown command: 'show_urls' Version: current from master f9cad6e.
Read more >
Unknown command: shell_plus and --settings - Stack Overflow
Unknown command : 'shell_plus' Type 'manage.py help' for usage. I have ipython and shell_plus installed (from my pip freeze)
Read more >
django-showurls - PyPI
Adds a mgmt command to print urls from your Django project.
Read more >
Command Extensions
show_urls - Displays the url routes that are defined in your project. Very crude at this point. sqldiff - Prints the (approximated) difference...
Read more >
django-extensions Documentation - Read the Docs
Tracking the development version of django command extensions should be pretty ... bad marshal data (unknown type code)”, try using cProfile.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found