Re: forms with get_or_create and inlineformset_factory

2019-01-26 Thread Elias Coutinho
could be but in the context of my client's need this would be inversely to what the project proposes. When he needs to choose the questions he must choose a form and when he wishes all he chooses another. so there are two way and two Views. Em sáb, 26 de jan de 2019 14:31, Mohammad Etemaddar <

forms with get_or_create and inlineformset_factory

2019-01-26 Thread Mohammad Etemaddar
I think the answer is in your signal-connected function in your question query which you choosed all() questions. I did not understand the project, but you should choose questions in signal and not all questions I think. -- You received this message because you are subscribed to the Google

forms with get_or_create and inlineformset_factory

2019-01-26 Thread Elias Coutinho
Good morning my friends. I have two forms that I use to insert data into the same models in different situations: class SearchFormCompleto(forms.ModelForm): class Meta: model = Search fields = ( 'search_key', 'person', 'researched',