openpolis/open_municipio — comment on commit d4db0a781b34f069575de478298931495a02b2ab
File: open_municipio/acts/views.py line 58
By guglielmo:

.lower() must be applied to a string; self.model is the model, you need .__name__ to convert it into a string