Skip to content

Commit

Permalink
fixed the wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
onurmatik committed May 12, 2010
1 parent e3da78f commit e2778cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions voting/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def vote_on_object(request, direction, model=None, content_type_id=None,
"""
if not model:
model = ContentType.objects.get_for_id(content_type_id)
return _vote_on_object(request, model, direction, post_vote_redirect=None,
object_id=None, slug=None, slug_field=None, template_name=None,
template_loader=loader, extra_context=None, context_processors=None,
return _vote_on_object(request, model, direction, post_vote_redirect=post_vote_redirect,
object_id=object_id, slug=slug, slug_field=slug_field, template_name=template_name,
template_loader=loader, extra_context=extra_context, context_processors=context_processors,
template_object_name='object', allow_xmlhttprequest=allow_xmlhttprequest)

def _vote_on_object(request, model, direction, post_vote_redirect=None,
Expand Down

0 comments on commit e2778cd

Please sign in to comment.