浏览代码

Allow bulk removing games in debug mode

Colin Powell 3 年之前
父节点
当前提交
4833ad583b
共有 1 个文件被更改,包括 4 次插入0 次删除
  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