소스 검색

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