[Django]-TypeError: __init__() got an unexpected keyword argument 'show_preview'

3👍

Use attrs— (Django Doc) parameter to pass the values to widget

widget=PagedownWidget(attrs={"show_preview":False})
👤JPG

Leave a comment