Dream 11

2022-09-07 Thread Vineet Kothari
Hi, I want to create a web app like dream 11 any hint will be appreciated. Thanks & Regards, Vineet Kothari -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Dream 11

2022-09-07 Thread Anurag Agarwal
Please contact @RishavPant or @RohitSharma On Wed, Sep 7, 2022, 19:36 Vineet Kothari wrote: > Hi, > I want to create a web app like dream 11 any hint will be appreciated. > > Thanks & Regards, > Vineet Kothari > > -- > You received this message because you are subscribed to the Google Groups

Static file - java script - not found

2022-09-07 Thread bodyabd...@gmail.com
Dear All; I've problem in static folder , the file js not found -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To vi

Re: Static file - java script - not found

2022-09-07 Thread Lakshyaraj Dash
Listen you need to configure your sales app inside the installed apps like 'sales.apps.SalesConfig' and remove the line 'BASE_DIR / sales / static' from the STATIFILES_DIRS. Thanks and regards Lakshyaraj Dash On Thu, Sep 8, 2022, 02:49 bodyabd...@gmail.com wrote: > Dear All; > I've problem in s

Averaging timestamp deltas with Django ORM

2022-09-07 Thread Joshua Corlin
Hello Everyone, This is my first posting on this forum, please let me know if I have done anything incorrectly. I have a seemingly simple task I am trying to achieve with one of my projects. Looking to see if the following is possible, and if so what the syntax would be with the Django ORM

Re: Static file - java script - not found

2022-09-07 Thread Ezekiel Obiajulu
There is an error in staticfiles_dirs Message me on WhatsApp for further corrections ... Use that code STATIC_URL = 'static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] remember to: import os at the top +2349033768504 (WhatsApp only) On Wednesday, September 7, 2022 at 10:19:38 PM

Re: Static file - java script - not found

2022-09-07 Thread Ezekiel Obiajulu
Use this code [image: Annotation 2022-09-07 231453.png] remember to: import os at the top On Wednesday, September 7, 2022 at 10:19:38 PM UTC+1 bodyabd...@gmail.com wrote: > Dear All; > I've problem in static folder , the file js not found > > -- You received this message because you are subs

Re: Static file - java script - not found

2022-09-07 Thread Lakshyaraj Dash
His configurations are correct os module is not compulsory... because the BASE_DIR is already configured... On Thu, Sep 8, 2022, 04:51 Ezekiel Obiajulu wrote: > There is an error in staticfiles_dirs > Message me on WhatsApp for further corrections ... > Use that code > STATIC_URL = 'static/' > S

Re: Averaging timestamp deltas with Django ORM

2022-09-07 Thread Thomas Lockhart
Something like qs.aggregate(delay=Avg(F(“approved_at”) - F(“created_at”)))[“delay”] where I cribbed the technique from https://stackoverflow.com/questions/50219652/django-queryset-get-avg-of-2-fields hth - Tom