Re: domain/sitemap.xml HTTP Error 500, site matching query does not exist

2020-09-27 Thread Kasper Laudrup
On September 27, 2020 7:49:43 AM GMT+02:00, dum dum wrote: >[image: image.png] > >I was successfully submitted the sitemap in google search console last >week, and got discovered urls about 960.. But suddenly, when I tried to >resubmitted sitemap.xml again, I got status "couldn't fetch". >The prob

Limit the choices for a ForeignKey

2020-09-27 Thread Marco Paradisi
Hi Everyone! I need to filter the choices for a foreign key. My Model has an attribute SEX that could be M or F, and two Foreign keys ( FATHER and MOTHER ), I want both filtered for sex. How can I achieve it? Thanks in advance -- You received this message because you are subscribed to the Goo

Re: Limit the choices for a ForeignKey

2020-09-27 Thread RANGA BHARATH JINKA
Hi, Check this. This may be useful for you. It is based on dependent dropdown. https://www.youtube.com/watch?v=U_qPp6vPl-g On Sun, Sep 27, 2020 at 10:09 PM Marco Paradisi wrote: > Hi Everyone! > > I need to filter the choices for a foreign key. > > My Model has an attribute SEX that co

Django Mysql Bulk_Create Ids

2020-09-27 Thread Rohan Nahata
How can we make this happen? What steps would be needed so that bulk_create ends up returning the ids of the items that just got created? I don't want to be machine gunning my db with save statements to retrieve ids. -- You received this message because you are subscribed to the Google Groups