Re: complex math calculation from query set # SOLVED

2021-07-24 Thread Franck Tchouanga
Guys I got a good place to manage all your django and good enough developer and designers for your project just check out the below link to get it all https://bit.ly/3eUJJcX On Sat, Jul 24, 2021 at 7:36 PM esteem learning center < ahmeddauda.dr...@gmail.com> wrote: > If you want to do some

Re: complex math calculation from query set # SOLVED

2021-07-24 Thread esteem learning center
If you want to do some basic django calculations, you can use django-mathfilters is simple to use for add, subtract, mul, and div On Sat, Jul 24, 2021, 3:33 PM mab.mo...@gmail.com wrote: > Thank you Derek for the information. For those that are having similar > problems this is the solution

Re: complex math calculation from query set # SOLVED

2021-07-24 Thread mab.mo...@gmail.com
Thank you Derek for the information. For those that are having similar problems this is the solution that worked for me based on Derek's lead ## METHOD 1 ## # view def position_view(request): packet_data = TncData.objects.exclude(lat=0).order_by('-dt_heard')[:100] # loop through

Query Optimization and profiling for celery tasks

2021-07-24 Thread Hamidreza Mahmoodian
Hello everyone Django-debug-toolbar and Django-silk are two famous tools for profiling HTTP requests. Is it possible to analyze a celery task or any other function inside the code? for instance, I have a celery task like this: def main_task(): while _condition: logic()