@register.simple_tag
def simple_unlimited_args_kwargs(one, two='hi', *args, **kwargs):
    # Sort the dictionary by key to guarantee the order for testing.
    sorted_kwarg = sorted(kwargs.iteritems(), key=operator.itemgetter(0))
    return "simple_unlimited_args_kwargs - Expected result: %s / %s" % (
        ', '.join([unicode(arg) for arg in [one, two] + list(args)]),
        ', '.join(['%s=%s' % (k, v) for (k, v) in sorted_kwarg])
        )
Verify base formset honors DELETE field
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/templates/templatetags/custom.py/simple_unlimited_args_kwargs--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/tests/regressiontests/model_formsets_regress/tests.py/FormfieldShouldDeleteFormTests.test_all_delete