Inlineformset parameter for a queryset

2019-02-10 Thread Gerson David Vizquel Alemán
Hello I resort to this medium because I have already invested a lot of time looking for the solution and I can not find it. I have two questions, one of the two will help me to solve an approach that I have: 1.- How can I pass parameters to the inlineformset? 2.- How can I read the value of a

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Gerson David Vizquel Alemán
You can use vuejs is... a pure love JavaScript framework. Take a look at this: https://2018.stateofjs.com/front-end-frameworks/overview/ El martes, 27 de noviembre de 2018, 16:21:32 (UTC-4), Simon Connah escribió: > > I'm in the process of building a website in Django and need to make a > specif

Re: why created_at is greater than updated_at while inserting data in table

2018-11-29 Thread Gerson David Vizquel Alemán
created_at = models.DateTimeField(editable=False)updated_at = models.DateTimeField() def save(self, *args, **kwargs):''' On save, update timestamps ''' if not self.id: self.created_at = timezone.now() self.updated_at = self.created_at self.updated_at = timezone.now()

Re: How I can insert data into database automaticaly

2018-12-04 Thread Gerson David Vizquel Alemán
Hola Jesus, la información que requieres cargar inicialmente en la base de datos es información fake o real? El martes, 4 de diciembre de 2018, 13:09:04 (UTC-4), Informatico de Neurodesarrollo escribió: > > Hello: > > I am a beginner on Django. I wish develop a web app with Django 2.1.3 > and

Re:

2018-12-04 Thread Gerson David Vizquel Alemán
Hello Brajesh I recomend you go to Django oficial documentation and complete the tuttorial. Is really easy for begeners. El martes, 4 de diciembre de 2018, 13:48:19 (UTC-4), brajesh kumar escribió: > > Hi, > I am looking to prep a web page based on django, with some options on a > table like,

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