#25332: migrate fails for CharField if max_length is omitted
-------------------------------------+-------------------------------------
Reporter: ryselis | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: 1.7
Severity: Normal | Resolution:
| worksforme
Keywords: max_length | Triage Stage:
CharField migrate | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
Yes, I tested with the 1.7 branch.
[https://github.com/django/django/blob/c0f9957cea3366d0db64bad5fcb41203f5ebc3b9/django/db/models/fields/__init__.py#L1020-L1044
Here's the relevant code]. Could you try to debug why it's not being
called in your case?
--
Ticket URL: <https://code.djangoproject.com/ticket/25332#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.ba294c9580aa50df864a64685cd2dbb3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.