mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-09 16:18:00 -05:00
fixed theming breaking for users without space
This commit is contained in:
@@ -15,7 +15,7 @@ def theme_values(request):
|
|||||||
|
|
||||||
def get_theming_values(request):
|
def get_theming_values(request):
|
||||||
space = None
|
space = None
|
||||||
if request.space:
|
if 'space' in request:
|
||||||
space = request.space
|
space = request.space
|
||||||
if not request.user.is_authenticated and UNAUTHENTICATED_THEME_FROM_SPACE > 0:
|
if not request.user.is_authenticated and UNAUTHENTICATED_THEME_FROM_SPACE > 0:
|
||||||
with scopes_disabled():
|
with scopes_disabled():
|
||||||
|
|||||||
Reference in New Issue
Block a user