Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Werkzeug is disabled and can't be turned on #25

Open
szczav opened this issue Jan 27, 2011 · 1 comment
Open

Werkzeug is disabled and can't be turned on #25

szczav opened this issue Jan 27, 2011 · 1 comment

Comments

@szczav
Copy link

szczav commented Jan 27, 2011

Hi

I installed ver 0.1.5 from easy_install and there is no way to turn on werkzeug. In one of the last revisions it was disabled by default and there is no option in runserver command to activate it. There is only --werkzeug param which "Tells Django to NOT use the Werkzeug interactive debugger.", but now it make no sense.

So, please change option to --werkzeug to activate werkzeug or make it active by default.

Workaround and possible resolution: in management/commands/runserver.py, line 34, change from:
make_option('--werkzeug', action='store_false', dest='use_werkzeug', default=False,
help='Tells Django to NOT use the Werkzeug interactive debugger.'),
to
make_option('--werkzeug', action='store_true', dest='use_werkzeug', default=False,
help='Tells Django to use the Werkzeug interactive debugger.'),
and now --werkzeug param makes dubugger active.

@k4ml
Copy link
Contributor

k4ml commented Mar 12, 2011

It took me few minutes to realize this, --werkzeug option should be to enable it, not disable. Otherwise it should be --nowerkzeug so it consistent with other command options such as --noinput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants