#NEWLINE# @ register . tag #NEWLINE# def fieldset( parser , token ) : #NEWLINE# #INDENT# ' Compilation function for fieldset block tag\n    Render a form fieldset\n    *This is an aux tag that is not used and excluded from coverage tests*\n    https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/#writing-the-compilation-function\n    https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/#parsing-until-another-block-tag\n    http://stackoverflow.com/a/30097784/940098\n    :param parser: template parser\n    :param token: tag name and variables\n    :return: HTML string\n    ' #NEWLINE# try : #NEWLINE# #INDENT# ( tag_name , fieldset_name ) = token . split_contents ( ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise template . TemplateSyntaxError ( ( '%r tag requires a single argument' % token . contents . split ( ) [ 0 ] ) ) #NEWLINE# #UNINDENT# nodelist = parser . parse ( ( 'endfieldset' , ) ) #NEWLINE# parser . delete_first_token ( ) #NEWLINE# return FieldsetNode ( fieldset_name , fieldset_name )