Re: NO IDEA

2022-08-01 Thread Opeyemi Ogunsanya
You said how can you filter by year and I gave you an idea on how to go about it. Next thing I get is if you are a newbie in Django don't show us that you know, what is wrong with Nigerian. On Tue, Aug 2, 2022, 5:15 AM kateregga julius wrote: > Boss if you are a newbie in Django don't show us

Re: 如何在Django4.0.6中使用MongoDB数据库

2022-08-01 Thread Hella thor
Thank you. I'm already on board. Satyajit Barik 于2022年8月1日周一 22:26写道: > I am delighted to invite you on behalf of python & django to become a free > member today in WhatsApp group. > > > Here you can join in our WhatsApp group using below link > >

Re: 如何在Django4.0.6中使用MongoDB数据库

2022-08-01 Thread Hella thor
Thank you Buddy. I've taken care of it. Have a nice day. Thank you aggin. Juergen Hauser 于2022年8月1日周一 06:23写道: > pip install djongo > pip install pytz > pip install pymongo==3.12.3 > > settings.py: > > import djongo > > #Database is localhost: > DATABASES = { > 'default': { > 'ENGINE':

Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-08-01 Thread Abdul Qoyyuum
Download it from https://pyscript.net/ and load it on your local webserver. On Fri, Jul 29, 2022 at 10:59 PM Ad Tariq wrote: > > > Sent from my Huawei Mobile > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this

Re: GETTING AVERAGE OF A STUDENT IN DIFFERENT YEARS

2022-08-01 Thread Opeyemi Ogunsanya
results=Grade.objects.filter(person=obj, year=year-to-select-from).aggregate(Avg("mark")) On Mon, Aug 1, 2022, 10:29 PM kateregga julius wrote: > If I manually pass in the year_id it works. > My Question is how can I pass the year ID as the third parameter in the > method of Average > > On Mon,

Re: GETTING AVERAGE OF A STUDENT IN DIFFERENT YEARS

2022-08-01 Thread kateregga julius
If I manually pass in the year_id it works. My Question is how can I pass the year ID as the third parameter in the method of Average On Mon, 1 Aug 2022, 23:15 kateregga julius, wrote: > how boss > > > On Mon, Aug 1, 2022 at 8:18 PM Opeyemi Ogunsanya < > ogunsanyaopeye...@gmail.com> wrote: > >>

Generating Calendar files for iPhone and Android with Pthon3/django

2022-08-01 Thread lone...@gmail.com
Hello all, I want to generate calendar files for both Android and iPhone. I do not want to connect to the Google or Apple APIs to do this. I just want static files that are downloaded from my webapp to the mobile device. How and can this be done? Thank you. -- You received this

Re: GETTING AVERAGE OF A STUDENT IN DIFFERENT YEARS

2022-08-01 Thread kateregga julius
how boss On Mon, Aug 1, 2022 at 8:18 PM Opeyemi Ogunsanya < ogunsanyaopeye...@gmail.com> wrote: > You have to add a year filter in the results query line. > results=Grade.objects.filter(person=obj).aggregate(Avg("mark")) > > On Mon, Aug 1, 2022, 3:09 PM kateregga julius > wrote: > >> Hello

Re: GETTING AVERAGE OF A STUDENT IN DIFFERENT YEARS

2022-08-01 Thread Opeyemi Ogunsanya
You have to add a year filter in the results query line. results=Grade.objects.filter(person=obj).aggregate(Avg("mark")) On Mon, Aug 1, 2022, 3:09 PM kateregga julius wrote: > Hello Friends, i have the following models > > = > class Person(models.Model):

Re: 如何在Django4.0.6中使用MongoDB数据库

2022-08-01 Thread Satyajit Barik
I am delighted to invite you on behalf of python & django to become a free member today in WhatsApp group. Here you can join in our WhatsApp group using below link https://chat.whatsapp.com/Bq2jcxLJVG50v9Wbkvz6Vy [Membership benefits] Here