On Wed, Aug 28, 2019, 2:00 AM Ali IMRANE <ali.imran...@gmail.com> wrote:

> Thanks James for your help.
>
> Indeed, I tought about that problem but I already managed to see an number
> on an other page, as well as using that ID to read information behind my
> informations (as you can see in the third line I gave on "lire.html"). A
> number is printed. How can I know that it is an *int* and not a *string*
> use in there ?
>

In the template it won't matter whether it is an int or a string, it gets
implicitly converted to a string for the regex match anyway.



>>         # Nous pourrions ici envoyer l'e-mail grâce aux données
>>         # que nous venons de récupérer
>>         envoi = True
>>         redirect(home)
>>
>>
What is the home variable in the redirect statement above? It isn't defined
in your view. I think that will need an extra argument. What line is the
traceback actually complaining about?

-James

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUugGMgB6JhMkLpYc59s7%3DFi6ES3ccvRgPk%2BtXNCX2DxA%40mail.gmail.com.

Reply via email to