Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
Sure sir thank you again On Wed, Jun 23, 2021 at 8:10 AM DJANGO DEVELOPER wrote: > +923012876771, you can send me your queries here. > > On Wed, Jun 23, 2021 at 7:39 AM DJANGO DEVELOPER > wrote: > >> is it resolved now? or still want some help? >> >> On Tue, Jun 22, 2021 at 9:44 PM mayank sand

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
+923012876771, you can send me your queries here. On Wed, Jun 23, 2021 at 7:39 AM DJANGO DEVELOPER wrote: > is it resolved now? or still want some help? > > On Tue, Jun 22, 2021 at 9:44 PM mayank sandikar < > mayanksandikar191...@gmail.com> wrote: > >> Thank you sir, sorry for all the troubles.

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
is it resolved now? or still want some help? On Tue, Jun 22, 2021 at 9:44 PM mayank sandikar < mayanksandikar191...@gmail.com> wrote: > Thank you sir, sorry for all the troubles. > > On Tue, Jun 22, 2021 at 4:41 PM DJANGO DEVELOPER > wrote: > >> request.FILES used when we need to insert images a

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
Thank you sir, sorry for all the troubles. On Tue, Jun 22, 2021 at 4:41 PM DJANGO DEVELOPER wrote: > request.FILES used when we need to insert images as well. if there is no > image field then remove the request.FILES. > > On Tue, Jun 22, 2021 at 4:10 PM DJANGO DEVELOPER > wrote: > >> follow th

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
request.FILES used when we need to insert images as well. if there is no image field then remove the request.FILES. On Tue, Jun 22, 2021 at 4:10 PM DJANGO DEVELOPER wrote: > follow this code's pattern but remember one thing that you have to follow > it according to your needs. > > On Tue, Jun 22

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
follow this code's pattern but remember one thing that you have to follow it according to your needs. On Tue, Jun 22, 2021 at 4:10 PM DJANGO DEVELOPER wrote: > def insetdata(request): > product_form = your_product_form() > if request.method == 'POST': > product_form = your_produc

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
def insetdata(request): product_form = your_product_form() if request.method == 'POST': product_form = your_product_form(request.POST, request.FILES) if product_form.is_valid: product_form.save() return redirect('put your product's url name value here

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
Thank you sir, the html problem is solved, but I don't know how to insert itemname, quantity and rate in the database On Tue, Jun 22, 2021 at 4:15 PM DJANGO DEVELOPER wrote: > is your code working now? > > On Tue, Jun 22, 2021 at 3:32 PM DJANGO DEVELOPER > wrote: > >> First of all please remove

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
is your code working now? On Tue, Jun 22, 2021 at 3:32 PM DJANGO DEVELOPER wrote: > First of all please remove the for loop from your form. > secondly please add{{displayemp.userquantity_field}} > {{displayemp.amount_field}} > > On Tue, Jun 22, 2021 at 3:27 PM mayank sandikar < > maya

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
Edit .button { border: none; color: black; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } .button2 {background-color: #008CBA;}

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
First of all please remove the for loop from your form. secondly please add{{displayemp.userquantity_field}} {{displayemp.amount_field}} On Tue, Jun 22, 2021 at 3:27 PM mayank sandikar < mayanksandikar191...@gmail.com> wrote: > view.py > def displaydata(request): >results = editupd

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
forms.py from django import forms from django.forms import fields from project.models import editupdaterecord class empforms(forms.ModelForm): class Meta: model=editupdaterecord fields="__all__" On Tue, Jun 22, 2021 at 3:57 PM mayank sandikar < mayanksandikar191...@gmail.com

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
models.py from django.db import models class editupdaterecord(models.Model): id = models.IntegerField(primary_key=1) Itemname = models.CharField(max_length=100) quantity = models.IntegerField(blank=True, null=True, default=0) basicamount = models.IntegerField(blank=True, null=T

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
view.py def displaydata(request): results = editupdaterecord.objects.all() if request.method=='POST': if request.POST.get('userquantity') : quantity = request.POST.get('userquantity') a = editupdaterecord.objects.all() print(a) # if results in a < qu

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
my index.html is Edit .button { border: none; color: black; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; } .button2 {background-color: #008CBA;}

Re: Help me Please - Django and python program

2021-06-22 Thread mayank sandikar
Hello sir, I'm trying to insert the data in the table. For example in database Itemname quantity price user-quantity amount pen20 5 00 book 20 10 00 in my database I'm getting this result pen20

Re: Help me Please - Django and python program

2021-06-22 Thread DJANGO DEVELOPER
according to your code, you're trying to update the product record. right? If so, then you're doing things the right way. On Tue, Jun 22, 2021 at 9:50 AM mayank sandikar < mayanksandikar191...@gmail.com> wrote: > hello , sir your mobile no. is not on whatsapp. please assist me with > this > > On

Re: Help me Please - Django and python program

2021-06-21 Thread mayank sandikar
hello , sir your mobile no. is not on whatsapp. please assist me with this On Mon, Jun 21, 2021 at 10:09 PM Onyemordi Daniel wrote: > Hello, have your problem been solved if no kindly contact me on WhatsApp > 08167997730 to assist you better. > > On Mon, 21 Jun 2021, 07:07 mayank sandikar, < >

Re: Help me Please - Django and python program

2021-06-21 Thread Onyemordi Daniel
Hello, have your problem been solved if no kindly contact me on WhatsApp 08167997730 to assist you better. On Mon, 21 Jun 2021, 07:07 mayank sandikar, wrote: > https://github.com/Mayanksandikar/3-database > > > On Sun, Jun 20, 2021 at 4:08 PM Luciano Martins > wrote: > >> Post your code on gith

Re: Help me Please - Django and python program

2021-06-20 Thread mayank sandikar
https://github.com/Mayanksandikar/3-database On Sun, Jun 20, 2021 at 4:08 PM Luciano Martins wrote: > Post your code on github and provide the link here > > Em sábado, 19 de junho de 2021 às 22:00:24 UTC-3, mayanksand...@gmail.com > escreveu: > >> I have a few errors in my program. >> 1. HTML >

Re: Help me Please - Django and python program

2021-06-20 Thread Luciano Martins
Post your code on github and provide the link here Em sábado, 19 de junho de 2021 às 22:00:24 UTC-3, mayanksand...@gmail.com escreveu: > I have a few errors in my program. > 1. HTML > In my front view only my last text box is working and all the upper text > boxes are unassessable. > 2. Databa

Re: help me please

2020-02-26 Thread Kasper Laudrup
Hi Jana, On 26/02/2020 14.47, Janna_MaMa Rewview ICO wrote: Hello friends. I want to build an extra member application for telegram. but I just knew python. Does anyone guide me to code it? thanks! You are asking the wrong place. This is for Django users which has nothing to do with Telegra