Ver Fonte

Allow bulk removing games in debug mode

Colin Powell há 3 anos atrás
pai
commit
4833ad583b
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      emus/settings.py

+ 4 - 0
emus/settings.py

@@ -206,3 +206,7 @@ LOGGING = {
         "emus": {"handlers": ["console", "file"], "propagate": True},
     },
 }
+
+if DEBUG:
+    # We clear out a db with lots of games all the time in dev
+    DATA_UPLOAD_MAX_NUMBER_FIELDS = 3000