mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-05-13 09:43:17 +00:00
Fix: global name 'commands' is not defined, #108
This commit is contained in:
parent
d76c72e2a5
commit
b837a20ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class GoogleAnalyticsJsNode(Node):
|
|||
import json
|
||||
create_fields = self._get_domain_fields(context)
|
||||
create_fields.update(self._get_other_create_fields(context))
|
||||
commands.extend(self._get_custom_var_commands(context))
|
||||
commands = self._get_custom_var_commands(context)
|
||||
commands.extend(self._get_other_commands(context))
|
||||
display_features = getattr(settings, 'GOOGLE_ANALYTICS_DISPLAY_ADVERTISING', False)
|
||||
html = SETUP_CODE.format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue