old_contents: from django import template
  from django.conf import settings
  
  from generic_scaffold import get_url_names
  
  register = template.Library()
  
  @register.simple_tag
  def get_url_for_action(prefix, action):
      url = get_url_names(prefix)[action]
      return url
  
  @register.assignment_tag
  def set_url_for_action(prefix, action):
      url = get_url_names(prefix)[action]
      return url
  
new_contents: from django import template
  from django.conf import settings
  
  from generic_scaffold import get_url_names
  
  register = template.Library()
  
  @register.assignment_tag
  def set_urls_for_scaffold(app=None, model=None, prefix=None):
      url_name = get_url_names(app, model, prefix)
      return url_name
  
subject: Improve templatetag to use either prefix or ...