[emacs] Keep db when running django tests

This commit is contained in:
Colin Powell
2026-01-12 11:29:30 -05:00
parent 0fc401be59
commit c5dd8b2db0

View File

@ -48,7 +48,7 @@
(let* ((module-part (or module ""))
(selector-part (if selector (concat "." selector) ""))
(param (string-trim (concat module-part selector-part)))
(command (format "python manage.py test %s" param)))
(command (format "python manage.py test --keepdb %s" param)))
(message "Running command: %s" command)
(projectile-run-async-shell-command-in-root command "*Django tests*")))