def queries_used_for_template(self, template, **context):
        connection.queries_log.clear()
        t = Template(template)
        t.render(Context(context))
        return len(connection.queries)
Tests string defaults work properly
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/utils/tests.py/TestCase.queries_used_for_template--crossover with--dataset/ETHPy150Open StartTheShift/thunderdome/thunderdome/tests/columns/test_defaults.py/TestDefaultValue.test_string_default