<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def put(self):
 """Re-import all templates, overwriting any local changes made"""

        try:
            _import_templates(force=True)
            return self.make_response('Imported templates')
        except:
            self.log.exception('Failed importing templates')
            return self.make_response('Failed importing templates', HTTP.SERVER_ERROR)