id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 25393 Cannot add TextField with unhashable default with MySQL Ville Skyttä nobody "Adding a TextField that has an unhashable default fails with MySQL, for example with `{}` as the default: {{{ Traceback (most recent call last): [...] File ""[...]/django/db/backends/mysql/schema.py"", line 53, in add_field if self.skip_default(field) and field.default not in {None, NOT_PROVIDED}: TypeError: unhashable type: 'dict' }}} One use case for fields like this is JSONField at https://github.com/bradjasper/django-jsonfield" Bug closed Database layer (models, ORM) dev Normal fixed Ready for checkin 1 0 0 0 0 0