agconti
agconti

Reputation: 18093

Django interactive traceback using Werkzeug, `manage.py runserver_plus` Error

The Problem

I'm trying to run the interactive Werkzeug debugger included in Django with my Django project. After executing python manage.py runserver_plus from the command line to start the server with the debugger, I get the error:

Unknown command: 'runserver_plus'
Type 'manage.py help' for usage.

I'm using virtualenv. Here is a look at what I have installed:

Django==1.5.2
Werkzeug==0.9.3
argparse==1.2.1
wsgiref==0.1.2

After looking at the Django documentation and this question,

How to use Werkzeug interactive traceback debugger in a Django project hosted on Heroku?

even though I'm only trying to debug my project locally, everything should be working fine. I have Django installed, I have Werkzeug utils installed (even though I might not need to), and I am running the right command.

Any idea what could be going wrong? this should be a pretty straight forward action.

Upvotes: 6

Views: 7720

Answers (2)

ahmnouira
ahmnouira

Reputation: 3411

Just check if django-extensions is installed:

pip install django-extensions

And django_extensions is added to your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    "django_extensions",
]

Upvotes: 0

dan-klasson
dan-klasson

Reputation: 14190

You need to also install django-werkzeug-debugger-runserver or django-extensions. And add whatever you install into INSTALLED_APPS.

Upvotes: 7

Related Questions