django-material
django-material copied to clipboard
MultiWidget support
Not sure if this is related with #362. I use the MoneyField from django-money in one of my models and the server gives me the following warning (using django-material 1.4.3):
/usr/local/lib/python3.7/dist-packages/material/base.py:216: UserWarning: Unknown field and widget <class 'djmoney.forms.fields.MoneyField'> <class 'djmoney.forms.widgets.MoneyWidget'>
The warning is generated because a template cannot be found. django-money does not provide any templates but relies on the default django MultiWidget. As far as I could see django-material does not implement a general MultiWidget. Is that correct and is there a possibility this will be added in the future?
Generally, it's hard to provide a nice and generic multi-widget template for render with MaterializeCSS.
Currently you have to create your own material/fields/djmoney_moneywidget.html