#NEWLINE# @ register . tag ( name = 'post_file_url' ) #NEWLINE# def post_file_url( parser , token ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( tag_name , slug ) = token . split_contents ( ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise template . TemplateSyntaxError ( ( '%r tag requires a single argument' % token . contents . split ( ) [ 0 ] ) ) #NEWLINE# #UNINDENT# slug = parser . compile_filter ( tag_name ) #NEWLINE# return PostFileLinkNode ( slug )