سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top