On Fri, Jun 10, 2022 at 2:50 AM Virgilio Ravagli <[email protected]> wrote: > > I have surround book.save with a try...catch...; the exception is: You must > not use 8-bit bytestrings unless you use a text_factory that can interpret > 8-bit bytestrings (like text_factory = str). It is highly recommended that > you instead just switch your application to Unicode strings. > Without the try...catch, here is the traceback: > Environment: > > > Request Method: POST > Request URL: http://localhost:8000/uti/dataLoading/ > > Django Version: 1.8.5 > Python Version: 2.7.10
Hmmmmmmmm - - - - not speaking as any kind of expert - - - - but - - - - Python 2.xx has been deprecated for some time now. Python 3.10 is current. Likewise Django is now at version 3.2 for long-term support and is at 4.0.5 for current. AIUI you may find that your issue has already been addressed. HTH -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPpdf59v7_V7pgOFrH1zBy1Kx%2Bn6O8Lt2nMc9JJaN_JhJ5s5bg%40mail.gmail.com.

