@register.tag(name='wishlists_containing_product')
def do_basket_form(parse, token):
 tokens = token.split_contents()
 if (len(tokens) != 5):
  raise template.TemplateSyntaxError(('%r tag uses the following syntax: {%% wishlists_containing_product wishlists product as ctx_var %%}' % tokens[0]))
 (wishlists_var, product_var, name_var) = (tokens[1], tokens[2], tokens[4])
 return ProductWishlistsNode(wishlists_var, product_var, name_var)

@ register . tag ( name = 'wishlists_containing_product' ) def do_basket_form ( parse , token ) : tokens = token . split_contents ( ) if ( len ( tokens ) != 5 ) : raise template . TemplateSyntaxError ( ( '%r tag uses the following syntax: {%% wishlists_containing_product wishlists product as ctx_var %%}' % tokens [ 0 ] ) ) ( wishlists_var , product_var , name_var ) = ( tokens [ 1 ] , tokens [ 2 ] , tokens [ 4 ] ) return ProductWishlistsNode ( wishlists_var , product_var , name_var )
template tag for adding the users wishlists form to the template context so it can be rendered .