Skip to content

Commit

Permalink
Properly return context
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Mar 21, 2013
1 parent 81f042f commit b97d57d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions boxes/templatetags/boxes_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def box(context, label, show_edit=True, *args, **kwargs):
form = None
form_action = None

return {
"request": request,
context.update({
"label": label,
"box": box,
"form": form,
"form_action": form_action,
}
})
return context
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name = "django-boxes",
version = "2.0b2",
version = "2.0b3",
author = "Eldarion",
author_email = "development@eldarion.com",
description = "a reusable Django content-boxes application",
Expand Down

0 comments on commit b97d57d

Please sign in to comment.