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: GETTING AVERAGE OF A STUDENT IN DIFFERENT YEARS

2022-08-01 Thread Opeyemi Ogunsanya
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: >> >>> You have to add a year filter in the re

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: Static files not found

2022-02-03 Thread Opeyemi Ogunsanya
Move the static folder to the Django app folder On Thu, Feb 3, 2022, 6:01 PM Serge Alard wrote: > Thank you for the suggestion but it does not work. > I add 2 things to make easier your helps : > >- the settings and wsgi files are in /www/Web_bridge/ Web_bridge/ >- the static files are i