#13062 closed (fixed)
Can't see PendingDeprecationWarnings in the development server on Linux
Reported by: | Brian Neal | Owned by: | nobody |
---|---|---|---|
Component: | django-admin.py runserver | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When running
$ python -Wall manage.py runserver
PendingDeprecationWarnings are not seen in the dev. server output unless you use the --noreload option on Ubuntu. For reference, see this thread on the user's mailing list. Karen Tracey has reported in that thread that this does seem to work as expected under Windows (no --reload is needed there).
I can try working up a patch if anyone more experienced can point me in the right direction. Thanks.
Attachments (1)
Change History (7)
comment:1 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 14 years ago
Attachment: | copy_warnoptions.diff added |
---|
comment:2 by , 14 years ago
Has patch: | set |
---|
I absolutely don't know if this is the right fix, but at least the attached patch works on my system. Someone on Windows could check if it doesn't break things.
comment:3 by , 14 years ago
I can confirm that this patch fixed the problem for me on Ubuntu; I can now see PendingDeprecationWarnings when running the dev server.
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Copy warnoptions before spawning child