mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
magic-removal: Merged to [2066]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6a91c0d558
commit
df6c666fe3
@ -221,13 +221,8 @@ def register_one_arg_tag(node):
|
|||||||
parse_func = curry(do_one_arg_tag, node)
|
parse_func = curry(do_one_arg_tag, node)
|
||||||
register.tag(tag_name, parse_func)
|
register.tag(tag_name, parse_func)
|
||||||
|
|
||||||
one_arg_tag_nodes = (
|
register_one_arg_tag(FieldWidgetNode)
|
||||||
FieldWidgetNode,
|
register_one_arg_tag(EditInlineNode)
|
||||||
EditInlineNode,
|
|
||||||
)
|
|
||||||
|
|
||||||
for node in one_arg_tag_nodes:
|
|
||||||
register_one_arg_tag(node)
|
|
||||||
|
|
||||||
#@register.inclusion_tag('admin/field_line', takes_context=True)
|
#@register.inclusion_tag('admin/field_line', takes_context=True)
|
||||||
def admin_field_line(context, argument_val):
|
def admin_field_line(context, argument_val):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user