Don't use ugettext*, they are deprecated and no longer exist in 3.x. m They
were for Django 2.x support.
On Fri, Dec 3, 2021 at 5:54 PM wrote:
> Hello
>
> Would like to know, what are the difference between gettext and
> ugettext_lazy?
>
> When to use each of them?
>
> --
> You received this mes
I comment that with the PyPDF2 library, I want to read 1 file (.pdf) that
is in a folder, take the information from that file and send it to a scrpt,
which is processed (I already have the scropt functions done, I put them
here) and then I want to save the results in another pdf and that this be
Correction, Python 2.x support
On Fri, Dec 3, 2021 at 8:12 PM David Nugent wrote:
> Don't use ugettext*, they are deprecated and no longer exist in 3.x. m
> They were for Django 2.x support.
>
> On Fri, Dec 3, 2021 at 5:54 PM wrote:
>
>> Hello
>>
>> Would like to know, what are the difference b
Hi
I first send a request to Django and save its data with a session.
I will send another request to Django later. Here I want to use the data of
the previous request.
But my code does not work properly. And the value "None" appears in the
output.
Does anyone know what I should do?
Thankful
def
Hi
Sorry, as you said I used the session.
But my problem has not been solved yet.
I first send a request to Django and save its data with a session.
I will send another request to Django later. Here I want to use the data of
the previous request.
But my code does not work properly. And the value "
We can save that in any django model in ajax() request if possible.
You can check if you have modified `SESSION_COOKIE_AGE` (
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SESSION_COOKIE_AGE
)
if it is too less that might be the reason.
On Fri, 3 Dec 2021 at 16:15, kayhan wrote
Thanks but I did not change the settings.
And to test, SESSION_COOKIE_AGE = 5 * 60,
I added to the settings but there is still the same problem.
On Fri, Dec 3, 2021 at 8:55 PM Lalit Suthar
wrote:
> We can save that in any django model in ajax() request if possible.
>
> You can check if you hav
Eu também aprendendo agora django
Em qua., 1 de dez. de 2021 20:22, Amor Zamora
escreveu:
> Les comento que con la libreria PyPDF2, quiero leer 1 archivo (.pdf) que
> esta en una carpeta, tomar la informacion de ese archivo y enviarla a un
> scrpt, que se procese(ya tengo hechas las funciones de
This is an older topic, but for everyone who found this discusion and had
the same issue: The problem is most likely using "lambda" inside a
for-loop. If you switch out "lambda" for "functools.partial" it should work
as expected.
Jani Tiainen schrieb am Donnerstag, 27. April 2017 um 08:27:11 UTC
9 matches
Mail list logo