def create(self, **kw):
        """ put docstring here """
        object = classobj('Model', (BaseModel,), {})
        for key in kw.keys():
            setattr(object, key, kw[key])
        (filepath, filename) = os.path.split(self.model.template_name)
        (shortname, extension) = os.path.splitext(filename)
        template_name = os.path.join(filepath, (shortname, extension) % '%s_initial%s')
        context = Context(object)
        xml_response = render_to_string(template_name, dictionary=kw, context_instance = context)
        return self.model(xml=xml_response)
dataset/ETHPy150Open adlibre/Adlibre-TMS/adlibre_tms/apps/saasu_client/models/base.py/XmlModelQuery.create/swapped operands of `%`