#29632: After migrating a Django project generated with cookiecutter-django from
Python 2.x to 3.x, db migration of (cookiecutter-django generated, not
Django module) django.contrib.sites fails with "TypeError: attribute name
must be string, not 'bytes'"
-------------------------------------+-------------------------------------
Reporter: Florian Mayer | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: master
Severity: Normal | Resolution: invalid
Keywords: migration, unicode, | Triage Stage:
bytestring, TypeError | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* resolution: needsinfo => invalid
Comment:
I don't think it makes sense to add a warning in Django at this point
because that could only go into Django 2.2 and users will have to upgrade
to Python 3 before upgrading to Django 2.0 where they will encounter this
error.
--
Ticket URL: <https://code.djangoproject.com/ticket/29632#comment:8>
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/066.4ec541a8911a944f691eb0d4641139a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.