I have a simple model that I only need to have this markdown field. I set up everything like was mentioned in the README, but when I go to run the migration, I constantly get this error:
File "/usr/local/lib/python3.8/site-packages/markdownfield/models.py", line 71, in formfield
if defaults['widget'] == admin_widgets.AdminTextareaWidget:
KeyError: 'widget'
It seems like the 'widget' property isn't defined on defaults and this always errors out. Any thoughts on how to fix this?
I have a simple model that I only need to have this markdown field. I set up everything like was mentioned in the README, but when I go to run the migration, I constantly get this error:
File "/usr/local/lib/python3.8/site-packages/markdownfield/models.py", line 71, in formfield if defaults['widget'] == admin_widgets.AdminTextareaWidget: KeyError: 'widget'
It seems like the 'widget' property isn't defined on defaults and this always errors out. Any thoughts on how to fix this?