Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made small simplification to admin_modify template tag logic

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bfaff07990c1a69b253f11f636bd049836626e6b 1 parent 78c8be9
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 django/contrib/admin/templatetags/
9 django/contrib/admin/templatetags/
@@ -216,13 +216,8 @@ def register_one_arg_tag(node):
parse_func = curry(do_one_arg_tag, node)
register.tag(tag_name, parse_func)
-one_arg_tag_nodes = (
- FieldWidgetNode,
- EditInlineNode,
-for node in one_arg_tag_nodes:
- register_one_arg_tag(node)
#@register.inclusion_tag('admin/field_line', takes_context=True)
def admin_field_line(context, argument_val):
Please sign in to comment.
Something went wrong with that request. Please try again.