Re: Django Admin Custom View Query Generation

2020-04-27 Thread Derek
Hi I have not worked with visualising script progress before; you probably need to use Celery on the backend - have a look at this blog post: https://buildwithdjango.com/blog/post/celery-progress-bars/ Writing the actual ingestion scripts is very much standard work for any programmer -

Re: Django Admin Custom View Query Generation

2020-04-26 Thread Vaibhav Mishra
You can use built-in Django ORM methods to perform calculated operations on existing models On Thursday, December 12, 2019 at 11:21:14 PM UTC+5:30, Balaji wrote: > > Hi > > Can anyone please tell me how can we generate Custome Model view for > different report where we use avg, min , max, sum,

Re: Django Admin Custom View Query Generation

2020-04-26 Thread Ram
Hello Derek, Thanks for providing good references for Django Admin Customization. I'm looking for a way to customize the following requirements. I thought you might have some idea of how to achieve this. 1. We extract data from XML files and upload the data into our Django based web app but we

Re: Django Admin Custom View Query Generation

2019-12-14 Thread Derek
The first post I came across that helped me before was: https://hakibenita.com/how-to-turn-django-admin-into-a-lightweight-dashboard (tip: he has many useful admin-related posts and is worth following) This seems like a more recent version of the same:

Re: Django Admin Custom View Query Generation

2019-12-13 Thread Balaji Shetty
Thank you very much Derek. You always provide nice help. Can we generate graphs for reports in Django Admi n. On Saturday, December 14, 2019, Derek wrote: > You can use built-in Django ORM methods to perform calculated operations > on existing models (you don't need a new model). See:

Re: Django Admin Custom View Query Generation

2019-12-13 Thread Derek
You can use built-in Django ORM methods to perform calculated operations on existing models (you don't need a new model). See: https://docs.djangoproject.com/en/3.0/topics/db/aggregation/ For more complex operations, you can write "raw" SQL -see

Django Admin Custom View Query Generation

2019-12-12 Thread Balaji Shetty
Hi Can anyone please tell me how can we generate Custome Model view for different report where we use avg, min , max, sum, count , group by clause. We have to generate this report in Django Admin Panel only. Can we generate respective Graphs also. Is there any library available. -- Mr