#28941: testserver invokes runserver shutdown_message option, which does not
exist
---------------------------------------------+----------------------------
Reporter: peter-rci | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 2.0
Severity: Normal | Keywords: testserver
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
---------------------------------------------+----------------------------
I believe the testserver command cannot be used at all in Django 2.0. Here
are lines 47-54 from testserver.py:
{{{
call_command(
'runserver',
addrport=options['addrport'],
shutdown_message=shutdown_message,
use_reloader=False,
use_ipv6=options['use_ipv6'],
use_threading=use_threading
)
}}}
Removing the `shutdown_message=shutdown_message` line fixes the problem.
--
Ticket URL: <https://code.djangoproject.com/ticket/28941>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.be94d97ca668d5ca80b2d2a9f34520f0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.