Shutdown scheduler on management commands and on every exit

This commit is contained in:
Roberto Rosario
2012-08-14 00:24:26 -04:00
parent 60c7491f37
commit bfb9f14f0e
3 changed files with 25 additions and 21 deletions
+1
View File
@@ -0,0 +1 @@
SHUTDOWN_COMMANDS = ['syncdb', 'migrate', 'schemamigration', 'datamigration', 'collectstatic', 'shell', 'shell_plus']