djangosnippets.org: Latest snippets tagged with 'testserver'https://djangosnippets.org/tags/testserver/2010-06-18T09:50:02.642874-05:00Testserver: --noinput option, sending a signal
2010-06-18T09:50:02.642874-05:00mpasternackihttps://djangosnippets.org/snippets/2071/<p>Makes manage.py testserver accept a <code>--noinput</code> argument to delete test database without asking if it already exists; makes it emit <code>django.core.management.commands.testserver.testserver_setup</code> signal after fixtures are loaded and before server itself is started to allow custom postprocessing.</p>
Freely redistributable