Create a new middleware
from django.utils.translation import activate
from django.conf import settings
class CustomLanguageMiddleware:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
# Read the language preference from the
I am Christiana Ajayi from Nigeria, but I am currently based in Rwanda and
Nigeria. I have just concluded development of a realtime dashboard using
Django, Reactjs, HTML, CSS, D3, PostgreSQL deployed on AWS cloud.
I also have an engineering background and hold a Masters degree in
Engineering A
Svp parlez en français 🙏🙏🙏
Le ven. 21 juil. 2023 à 15:14, Opeyemi Ajayi <
opeyemichristiana.aj...@gmail.com> a écrit :
> I am Christiana Ajayi from Nigeria, but I am currently based in Rwanda and
> Nigeria. I have just concluded development of a realtime dashboard using
> Django, Reactjs, HTML,
You can use fixtures to store json data to your db but it should be in a
specific format based on your model.
On Fri, 21 Jul, 2023, 22:44 Emmanuel Seth,
wrote:
> Svp parlez en français 🙏🙏🙏
>
>
> Le ven. 21 juil. 2023 à 15:14, Opeyemi Ajayi <
> opeyemichristiana.aj...@gmail.com> a écrit :
>
>> I
Hello Friends,
How can I get weekly,Monthly and annual reports? from the following model.
I want to get the total amount paid in the week,month and year
class Payments(models.Model):
id = models.AutoField(primary_key = True)
amount = models.IntegerField()
paidon = models.DateField(au
Write a condition based on paidon date filed like filter date ,
If date is today get last 7days report and get last month report.
On Fri, Jul 21, 2023, 11:12 PM Abdou KARAMBIZI
wrote:
> Hello Friends,
>
> How can I get weekly,Monthly and annual reports? from the following model.
> I want to get
6 matches
Mail list logo