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 <gamesb...@gmail.com> wrote:

> 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 https://docs.
> djangoproject.com/en/3.0/topics/db/sql/
>
> The results can be rendered as HTML or converted to PDF (see:
> https://codeburst.io/django-render-html-to-pdf-41a2b9c41d16)
>
> The standard Django Admin list is NOT a suitable place to show these
> outputs directly - I would (and I have before) hook these up to an custom
> action that lets a user fill in report parameters in a form before
> generating the HTML (for display) or PDF (for download).
>
>
> On Thursday, 12 December 2019 19:51:14 UTC+2, 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, 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 Shetty Balaji
>> Asst. Prof.
>> IT Department
>> SGGS I&T
>> Nanded. My. India
>>
>> --
> 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 this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/8e0b3bb0-07dc-4765-b0a3-82b6dcc95589%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/8e0b3bb0-07dc-4765-b0a3-82b6dcc95589%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Mr Shetty Balaji
Asst. Prof.
IT Department
SGGS I&T
Nanded. My. India

-- 
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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAECSbOtaWp3Y4LO1gXVU5oc0TGi5vGXO4G9gYV2K50j3k%3Dc1mA%40mail.gmail.com.

Reply via email to