bugfix for not working space loading

This commit is contained in:
Mikhail Epifanov 2024-01-11 22:46:29 +01:00
parent 6a393acd26
commit f1b41461db
No known key found for this signature in database

View File

@ -11,7 +11,7 @@ register = template.Library()
@register.simple_tag
def theme_values(request):
space = None
if request.space:
if space in request and request.space:
space = request.space
if not request.user.is_authenticated and UNAUTHENTICATED_THEME_FROM_SPACE > 0:
with scopes_disabled():