When I run "python manage.py syncdb" and after I input that I want to create a superuser, cmd told me the error below:
django.db.utils .DatabaseError: You mustnot use 8-bit bytesrings unless you use a text_factory that can interpret 8-bit bytestings (like text_factory = str). It is highly recommend that you instead just switch your application to Unicode strings.
Could you help me solve the problem? Thanks!
django.db.utils .DatabaseError: You mustnot use 8-bit bytesrings unless you use a text_factory that can interpret 8-bit bytestings (like text_factory = str). It is highly recommend that you instead just switch your application to Unicode strings.
Could you help me solve the problem? Thanks!
Comment