Re: Form does not import current data from data base

2023-11-13 Thread Stefan Kusmierz
Dear community, I'd like to inform you how I overcame the problem: instead of using "List.objects.last().a" to access field "a" of the last instance of class List, I did it like so: m=List.objects.last().pk List.objects.get(pk=m).a Best regards, Stefan Kani Sbt schrieb am Donnerstag, 26. Oktober

Re: Form does not import current data from data base

2023-10-26 Thread Kani Sbt
in django how to do phonepay integration any know or any blog or video anything , could you tell me !!! , i need to do that payment integration in phonepay On Thu, 26 Oct 2023 at 14:30, Stefan Kusmierz wrote: > Hi Migui, thanks for your input. It didn't work. > > > Migui Galan schrieb am Donner

Re: Form does not import current data from data base

2023-10-26 Thread Stefan Kusmierz
Hi Migui, thanks for your input. It didn't work. Migui Galan schrieb am Donnerstag, 26. Oktober 2023 um 09:27:48 UTC+2: > Hi Stefan, sorry i thought the process you are working is in POST request. > Try to place your func() after formchoices3. > > On Wed, Oct 25, 2023 at 4:10 PM Stefan Kusmierz

Re: Form does not import current data from data base

2023-10-26 Thread Migui Galan
Hi Stefan, sorry i thought the process you are working is in POST request. Try to place your func() after formchoices3. On Wed, Oct 25, 2023 at 4:10 PM Stefan Kusmierz wrote: > Hi Migui, > I'm enchanted to receive such a quick answer. > 1. It's MyForm1_2_3_4() because it's the answer to the firs

Re: Form does not import current data from data base

2023-10-25 Thread Stefan Kusmierz
Hi Migui, I'm enchanted to receive such a quick answer. 1. It's MyForm1_2_3_4() because it's the answer to the first Get request while the page is opened 2. Why would I try to save the form to the data base? Best regards, Stefan Migui Galan schrieb am Mittwoch, 25. Oktober 2023 um 03:39:16 UTC+