fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add pz field
[wolnelektury.git]
/
src
/
wolnelektury
/
context_processors.py
diff --git
a/src/wolnelektury/context_processors.py
b/src/wolnelektury/context_processors.py
index
fb857ba
..
badd662
100644
(file)
--- a/
src/wolnelektury/context_processors.py
+++ b/
src/wolnelektury/context_processors.py
@@
-1,5
+1,5
@@
-# This file is part of Wolne
l
ektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# This file is part of Wolne
L
ektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
from django.conf import settings
#
from django.conf import settings
@@
-8,5
+8,6
@@
def extra_settings(request):
return {
'STATIC_URL': settings.STATIC_URL,
'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL),
return {
'STATIC_URL': settings.STATIC_URL,
'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL),
- 'USE_OPENID': getattr(settings, 'USE_OPENID', False)
+ 'USE_OPENID': getattr(settings, 'USE_OPENID', False),
+ 'VARIANT': settings.VARIANTS.get(request.get_host()),
}
}