diff --git a/core/analytics/google.py b/core/analytics/google.py index ea9a010..4f3c590 100755 --- a/core/analytics/google.py +++ b/core/analytics/google.py @@ -1,10 +1,12 @@ from django import template from dss import settings + register = template.Library() + class ShowGoogleAnalyticsJS(template.Node): def render(self, context): - code = getattr(settings, "GOOGLE_ANALYTICS_CODE", False) + code = getattr(settings, "GOOGLE_ANALYTICS_CODE", False) if not code: return "" @@ -15,13 +17,17 @@ class ShowGoogleAnalyticsJS(template.Node): return "" return """ - - + """ \ No newline at end of file