from django import template
from django.template.defaulttags import CommentNode

register = template.Library()


def commen5(parser, token):
    """
    Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``.
    """
    parser.skip_past('endcommen5')
    return CommentNode()
commen5 = register.tag(commen5)

from django import template
from django.template.defaulttags import CommentNode

register = template.Library()


@register.tag
def commen5(parser, token):
    """
    Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``.
    """
    parser.skip_past('endcommen5')
    return CommentNode()

Use the sexy, new decorator style syntax.
Use the sexy, new decorator style syntax.
  from django import template
  from django.template.defaulttags import CommentNode
  
  register = template.Library()
  
  
+ @register.tag
  def commen5(parser, token):
      """
      Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``.
      """
      parser.skip_past('endcommen5')
      return CommentNode()
- commen5 = register.tag(commen5)
  
Use the sexy, new decorator style syntax.
## Code Before:
from django import template
from django.template.defaulttags import CommentNode

register = template.Library()


def commen5(parser, token):
    """
    Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``.
    """
    parser.skip_past('endcommen5')
    return CommentNode()
commen5 = register.tag(commen5)

## Instruction:
Use the sexy, new decorator style syntax.
## Code After:
from django import template
from django.template.defaulttags import CommentNode

register = template.Library()


@register.tag
def commen5(parser, token):
    """
    Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``.
    """
    parser.skip_past('endcommen5')
    return CommentNode()
