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 = models.IntegerField(
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 trying
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 model form for it but i am un
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 created a model form for
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
> def dashboard(request):
>
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
>
>
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
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)
8 matches
Mail list logo