From 1cbeea75ddcc084da7ca2d01357b4fc819c144d7 Mon Sep 17 00:00:00 2001 From: Daniele Guido Date: Thu, 14 Nov 2024 17:02:24 +0100 Subject: [PATCH] Update settings.py --- miller/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miller/settings.py b/miller/settings.py index bd3aadf..f108be9 100644 --- a/miller/settings.py +++ b/miller/settings.py @@ -192,7 +192,8 @@ MILLER_DATA_SEPARATOR = "__" # Additional type choices for Document Model: must be a tuple MILLER_DOCUMENT_TYPE_CHOICES = tuple( - get_env_variable("MILLER_DOCUMENT_TYPE_CHOICES", "").split(",") + (x, x) + for x in get_env_variable("MILLER_DOCUMENT_TYPE_CHOICES", "gallery").split(",") ) # Additional category choices for Tag Model: must be a tuple MILLER_TAG_CATEGORY_CHOICES = tuple()