Re: unable to save object Django (2.0)

2018-01-26 Thread harsh sharma
thank you regards On Wednesday, January 24, 2018 at 2:58:07 PM UTC+5:30, Anoosha Masood Keen wrote: > > Try this in models.py file > > > > > > > > > > > > > > > > > *class personmanager(models.Model):notes = models.TextField()link > = models.URLField()number =

Re: unable to save object Django (2.0)

2018-01-26 Thread harsh sharma
their is no error message i am doing something wrong in my forms which is being solved thank you regards On Friday, January 26, 2018 at 3:09:43 AM UTC+5:30, Andy wrote: > > what is the actual error message? > > Am Dienstag, 23. Januar 2018 21:10:00 UTC+1 schrieb harsh sharma: >> >> i am

Re: unable to save object Django (2.0)

2018-01-26 Thread harsh sharma
thank you the problem has being solve regards On Friday, January 26, 2018 at 10:56:14 AM UTC+5:30, Omar Abou Mrad wrote: > > > On Tue, Jan 23, 2018 at 10:10 PM, harsh sharma > wrote: > >> i am trying to save the basic information about a person >> i have created a

Re: unable to save object Django (2.0)

2018-01-26 Thread harsh sharma
change that variable but still i mm unable to save the object On Friday, January 26, 2018 at 10:56:14 AM UTC+5:30, Omar Abou Mrad wrote: > > > On Tue, Jan 23, 2018 at 10:10 PM, harsh sharma > wrote: > >> i am trying to save the basic information about a person >> i have

Re: unable to save object Django (2.0)

2018-01-25 Thread Omar Abou Mrad
On Tue, Jan 23, 2018 at 10:10 PM, harsh sharma wrote: > i am trying to save the basic information about a person > i have created a model form for it but i am unable to save the object > (unable to update the database) > > here is my views file > > @login_required >

Re: unable to save object Django (2.0)

2018-01-25 Thread Andy
what is the actual error message? Am Dienstag, 23. Januar 2018 21:10:00 UTC+1 schrieb harsh sharma: > > i am trying to save the basic information about a person > i have created a model form for it but i am unable to save the object > (unable to update the database) > > here is my views file >

Re: unable to save object Django (2.0)

2018-01-24 Thread 'Anoosha Masood Keen' via Django users
Try this in models.py file *class personmanager(models.Model):notes = models.TextField()link = models.URLField()number = models.IntegerField()def create_person(self,note,link,number):self.notes=note self.link=linkself.number=number

unable to save object Django (2.0)

2018-01-23 Thread harsh sharma
i am trying to save the basic information about a person i have created a model form for it but i am unable to save the object (unable to update the database) here is my views file @login_required def dashboard(request): if request.method=="post": form = linkform(request.POST)