I'm bound to use old versions of Python and Django, cannot pass to newer 
versions in this project

Il giorno venerdì 10 giugno 2022 alle 12:07:44 UTC+2 ajoeiam ha scritto:

> 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/5c16d776-a4be-4461-8a13-569605ccdb43n%40googlegroups.com.

Reply via email to