Explorar o código

Allow bulk removing games in debug mode

Colin Powell %!s(int64=3) %!d(string=hai) anos
pai
achega
4833ad583b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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