Closed batisteo closed 4 years ago
As from docs:
Replace underscores with dashes in the string.
https://inflection.readthedocs.io/en/latest/#inflection.dasherize
Yes, that is expected behavior. Use underscore
to first convert the string to snake case:
>>> inflection.dasherize(inflection.underscore('ModelForm'))
'model-form'
Expected
Getting: