#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 ryselis):
I have put a print on top of the method you have shown me. It is called
for some fields, but not the others. It looks like it works for all Django
built-in fields (those in contenttypes, auth), also other python libs that
are built on top of Django, but for my project there are fields for one
app only. It might be either problem with my project or some
configuration. I have searched through code and found out that the checks
are registered to the registry and then called. Could you point me to the
code that registers this check?
--
Ticket URL: <https://code.djangoproject.com/ticket/25332#comment:5>
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.aa11979a5d20f6f119f01c856ee6891b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.