In postgresql, ExpressionWrapper and DurationField does not work.

2021-01-17 Thread 김정진
Hi. I used mariadb and have migrated into postgresql 12 now. One of source code generates an error on postgresql. ... Q(active_at__lt=now()- ExpressionWrapper(F('configuration__interval') * 1.5 * 100 * 60, output_field=DurationField( ... is compile as : str(queryset.query) "active_at"

Re: Django and Ajax

2021-01-17 Thread carlos
this is a example Django and Ajax maybe help you https://simpleisbetterthancomplex.com/tutorial/2016/08/29/how-to-work-with-ajax-request-with-django.html On Sun, Jan 17, 2021 at 5:18 PM www.forum-gh.com wrote: > Hello, > Please I need your help on this, I am an absolute beginner, how >

Django and Ajax

2021-01-17 Thread www.forum-gh.com
Hello, Please I need your help on this, I am an absolute beginner, how can I create a filter using ajax for example when the user selects Ghana from a dropdown then data related to this country will show without refreshing the page. Thanks -- You received this message because you are sub

Re: Reports in Django

2021-01-17 Thread Damanjeet Singh
In project I am using https://pivottable.js.org On Sun, 17 Jan 2021, 13:29 Ali Sufyan, wrote: > Hi All: > > Do we have report making library like crystal reports > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this

Re: Is there any way to custom group models in the admin panel?

2021-01-17 Thread Prashanjeet Halder
Not preferred but I guess you can do it by following the below-given steps: As soon as you end up creating your web app 1) Run the command: "python manage.py collectstatic" 2) Check for the static/admin/index.html file. 3) Edit the HTML files as per your need and convenience. Please let me know if

Re: I have learn the tutorial 6 static file for html & css. However the web-site fail to display the intended file. Why & how to fixed it!

2021-01-17 Thread Prashanjeet Halder
There are many things that might be wrong in this situation. 1) Check the Urls.py file. 2) Check your settings.py file for the correct static URL & allowed hosts 3) Check for proper paths for every static file Thanks, Prashanjeet Haldar On Sunday, January 17, 2021 at 10:14:12 PM UTC+5:30 Kasper L

Re: I have learn the tutorial 6 static file for html & css. However the web-site fail to display the intended file. Why & how to fixed it!

2021-01-17 Thread Kasper Laudrup
Hi Loh, Revisit part one of the tutorial again: https://docs.djangoproject.com/en/3.1/intro/tutorial01/#write-your-first-view The "Page not found?" box will tell you what is wrong, but it might help you to read the rest again for context. Good luck and kind regards, Kasper Laudrup On 17/01

Re: Reports in Django

2021-01-17 Thread ramadhan ngallen
Use reportlab or weasyprint as alternative to crystal reports they both depends on css On 17 Jan 2021, 16:29 +0300, Ali Sufyan , wrote: > Hi All: > > Do we have report making library like crystal reports >  -- > You received this message because you are subscribed to the Google Groups > "Django u

Re: Reports in Django

2021-01-17 Thread gabriela...@gmail.com
Why you don't try with reporlab ? It's very easy to use. The only things that i don't know if I can make a sub-reports like Crystal. That is very uselfully. Regards, gabrielaraya2...@gmail.com El domingo, 17 de enero de 2021 a las 10:29:20 UTC-3, alisuf...@gmail.com escribió: > Hi All: > >

Reports in Django

2021-01-17 Thread Ali Sufyan
Hi All: Do we have report making library like crystal reports -- 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 view