#36952: Fix alter_field when called on a field that not has attribute: concrete
-------------------------------------+-------------------------------------
Reporter: kenshin6x | Type:
| Uncategorized
Status: new | Component: Database
| layer (models, ORM)
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Fix alter_field when called on a field that not has attribute: concrete
When alter_field on class BaseDatabaseSchemaEditor is called on a field
that not has attribute concrete, a exception is raised:
AttributeError: 'BooleanField' object has no attribute 'concrete'
Should avoid this exception by checking if the field has the attribute.
--
Ticket URL: <https://code.djangoproject.com/ticket/36952>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019c96919220-bd585f85-5b48-4b60-8786-672c498576c0-000000%40eu-central-1.amazonses.com.