mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
make node_sort_order an .env variable
This commit is contained in:
@@ -120,4 +120,12 @@ REVERSE_PROXY_AUTH=0
|
||||
# Django session cookie settings. Can be changed to allow a single django application to authenticate several applications
|
||||
# when running under the same database
|
||||
# SESSION_COOKIE_DOMAIN=.example.com
|
||||
# SESSION_COOKIE_NAME=sessionid # use this only to not interfere with non unified django applications under the same top level domain
|
||||
# SESSION_COOKIE_NAME=sessionid # use this only to not interfere with non unified django applications under the same top level domain
|
||||
|
||||
|
||||
# by default SORT_TREE_BY_NAME is enabled this will store all Keywords and Food in case sensitive order
|
||||
# this setting makes saving new keywords and foods very slow, which doesn't matter in most usecases.
|
||||
# however, when doing large imports of recipes that will create new objects, can increase total run time by 5-10x
|
||||
# Disabling SORT_TREE_BY_NAME (setting value to 0) will store objects unsorted, but will substantially increase speed of imports.
|
||||
# Keywords and Food can be manually sorted by name in Admin
|
||||
# SORT_TREE_BY_NAME=0
|
||||
Reference in New Issue
Block a user