From b20dd0af0974228e6d685032e25d720333ed2b6d Mon Sep 17 00:00:00 2001 From: Anders Jensen-Urstad Date: Tue, 25 Oct 2022 15:26:03 +0200 Subject: [PATCH 1/2] Bump DATA_UPLOAD_MAX_NUMBER_FIELDS to allow for large exports in admin interface; update README --- README.md | 3 +++ bibstat/settings.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 22f59f2..54caad3 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ Nedan är ett exempel på en minimal installation i Linux. # Installera MongoDB 5.0.x: # https://www.mongodb.com/docs/v5.0/installation/ + # Installera MongoDB Database Tools: + # https://www.mongodb.com/try/download/database-tools + # (inkluderar mongorestore & co, som ej längre är del av MongoDB-disten sen 4.4) # Klona projektet git clone git@github.com:libris/bibstat diff --git a/bibstat/settings.py b/bibstat/settings.py index 5cd5c95..647a6f9 100644 --- a/bibstat/settings.py +++ b/bibstat/settings.py @@ -55,6 +55,10 @@ LOG_LEVEL = "WARNING" +# The following is necessary because when you select all surveys in the admin +# interface and click Export, the request is quite large. +DATA_UPLOAD_MAX_NUMBER_FIELDS = 10000 + # Override above with local settings if present try: from .settings_local import * From 114d4b3de28cf8e6d425c5f448fa4765b1b45f8d Mon Sep 17 00:00:00 2001 From: Anders Jensen-Urstad Date: Tue, 25 Oct 2022 15:27:29 +0200 Subject: [PATCH 2/2] Bump version number to 1.20.1 --- bibstat/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibstat/settings.py b/bibstat/settings.py index 647a6f9..5715f78 100644 --- a/bibstat/settings.py +++ b/bibstat/settings.py @@ -17,7 +17,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # Bibstat version number - update this when making a new release -RELEASE_VERSION = "1.20.0" +RELEASE_VERSION = "1.20.1" """ ----------------------------------------------------------