Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Nov 14, 2024
1 parent 6adf8aa commit 1cbeea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion miller/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1cbeea7

Please sign in to comment.