minor changes in paypal
[wolnelektury.git] / src / wolnelektury / context_processors.py
index 5885e03..0079ea0 100644 (file)
@@ -4,8 +4,10 @@
 #
 from django.conf import settings
 
+
 def extra_settings(request):
     return {
         'STATIC_URL': settings.STATIC_URL,
-        'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL)
+        'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL),
+        'USE_OPENID': getattr(settings, 'USE_OPENID', False)
     }