1👍
✅
The problem is this line: username.error_messages="kkkkkk"
. error_messages
needs to be a dict
, like this:
username.error_messages = {'required': 'username is required'}
👤sk1p
Source:stackexchange.com