You can have both forms in a formset and handle both of them in a single
url, and you can handle your initial validations using HTML and javascript.
docs.djangoproject.com/en/3.0/topics/forms/formsets/
Le lun. 8 juin 2020 à 14:24, Rupesh Dahal a écrit :
> You can save the data to a session but I
You can save the data to a session but I would recommend you to store data
in js in the browser itself.
On Monday, June 8, 2020 at 1:54:53 AM UTC+5:45, Pierre Jutard wrote:
>
> I have 2 html pages A and B. The user fills the AForm in the 'A' HTML
> page(URL: A) then he will go to the 'B' html pa
If you bind the form to a model and the you retrieve the model in the other
page everything will be ok
Il Dom 7 Giu 2020, 22:09 Pierre Jutard ha scritto:
> I have 2 html pages A and B. The user fills the AForm in the 'A' HTML
> page(URL: A) then he will go to the 'B' html page (url: A/B) but
I have 2 html pages A and B. The user fills the AForm in the 'A' HTML
page(URL: A) then he will go to the 'B' html page (url: A/B) but i would
like to keep the AForm data of the 'A'HTML page in the python code in order
to use it after in the python function pointing to the 'B' HTML page.
My ide
4 matches
Mail list logo