Re: How to get queryset from get method

2018-12-05 Thread Thiago Luiz Parolin
Thanks!! This site is awesome and will help me a lot > Em 4 de dez de 2018, às 16:05, Gerson David Vizquel Alemán > escreveu: > > Hello Thiago, review this link: http://ccbv.co.uk/ > > El martes, 4 de diciembre de 2018, 8:38:24 (UTC-4), thiago.parolin escribió: >> >> I have a class (Update

Re: How to get queryset from get method

2018-12-04 Thread Gerson David Vizquel Alemán
Hello Thiago, review this link: http://ccbv.co.uk/ El martes, 4 de diciembre de 2018, 8:38:24 (UTC-4), thiago.parolin escribió: > > I have a class (Updateview) to handle file upload for a particular model. > In this class, I do some validation on the get method that uses a queryset. > In get_obj

How to get queryset from get method

2018-12-04 Thread Thiago Luiz Parolin
I have a class (Updateview) to handle file upload for a particular model. In this class, I do some validation on the get method that uses a queryset. In get_object and get_context_data I need to do the same query used in the get method, how can I reuse the get method's queryset in another method of