how to initialize input form fields using URL parameters

2023-01-22 Thread Andrew Brown
I am trying to pass initial values to my form set via URL Query ex) Localhost:8000?/First_name_id_0=Samuel [image: forms.py.png] I was told to use the initial parameter and not the instance in my view first "An inline formset is related to one instance of the parent model. You identify

Re: Uptime all the time

2023-01-22 Thread Mike Dewhirst
On 23/01/2023 5:12 am, j harvey wrote: I am looking for ideas on how to keep my app running all the time, even when uploading data that will replace the current data. Some of these tables will have a million rows or more. Ideas? Almost a question for the PostgreSQL users list - assuming that

In my html page shows an error like this when click on logout button

2023-01-22 Thread Sadiqali ard
In my html page shows an error like this: Page not found (404) Request Method:GET Request URL: http://127.0.0.1:8000/credentails/logout Using the URLconf defined in travelproject.urls, Django tried these URL patterns, in this order: admin/ [name='demo'] credentials/ ^static\/(?P.*)$

BUG USING modelformset_factory MODULE

2023-01-22 Thread Michael Maina
Hello, I have a challenge using the modelformset_factory module ( https://docs.djangoproject.com/en/3.2/topics/forms/modelforms/) and invite your advice. I can automatically generate a pre-populated webpage with a select dataset from the database, but the generated template creates

Uptime all the time

2023-01-22 Thread j harvey
I am looking for ideas on how to keep my app running all the time, even when uploading data that will replace the current data. Some of these tables will have a million rows or more. Ideas? Thanks in advance, John -- You received this message because you are subscribed to the Google Groups

Casesentives in models in django

2023-01-22 Thread Hi ND
I tried to put this code to deactivate the sensitivity of the characters when logging in, but it does not work. What is the problem with it? It still appears to me. Please consider the sensitivity of the characters I want to use this method. I do not want to use the backend method Please