Skip to content

Commit

Permalink
Merge pull request #23 from vikingco/TFD-561/upgrade-django
Browse files Browse the repository at this point in the history
Don't pass context to loading template
  • Loading branch information
Bart Moelans authored Apr 21, 2017
2 parents 5e668bb + 7dcaf60 commit 8c04236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_ajax/templatetags/xhr.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def render(self, context):
return container % self.else_nodelist.render(context)
else:
template = getattr(settings, 'XHR_LOADING_TEMPLATE', 'django-ajax/_loader.html')
return container % loader.get_template(template).render(context)
return container % loader.get_template(template).render()


@register.tag
Expand Down

0 comments on commit 8c04236

Please sign in to comment.