Daoud Clarke 1 year ago
parent
commit
372d780da7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mwmbl/main.py

+ 1 - 1
mwmbl/main.py

@@ -5,7 +5,7 @@ from django.core.management import call_command
 
 
 def run():
 def run():
     django.setup()
     django.setup()
-    call_command("collectstatic", "-c")
+    call_command("collectstatic", "--clear", "--noinput")
     call_command("migrate")
     call_command("migrate")
     uvicorn.run("mwmbl.asgi:application", host="0.0.0.0", port=5000)
     uvicorn.run("mwmbl.asgi:application", host="0.0.0.0", port=5000)