PetrDlouhy / django-admin-charts

Create beautiful configurable charts from your models and display them on the django-admin index page or on django-admin-tools dashboard. The charts are based on models and criterias defined through admin interface and some chart parameters are configurable in live view.
http://django-admin-charts.readthedocs.org/
Other
132 stars 17 forks source link

Basic Usage #35

Closed srkunze closed 1 year ago

srkunze commented 2 years ago

Hi everyone,

I found this library and it looks quite cool. After installing and configuration, though, I am a bit lost what should happens next after https://django-admin-charts.readthedocs.io/en/latest/introduction.html#basic-setup-for-django-admin

"http://localhost:8000/admin_tools_stats/" cannot be resolved. Would you care to explain to a newbie what the next step after "Open admin panel, configure Dashboard Stats Criteria & Dashboard Stats respectively" is?

Thanks in advance

PS: I checked the referenced model but nothing changed there as well.

tsotnesharvadze commented 2 years ago

Hello, I have same problem.

I make everything and what?

:D

PetrDlouhy commented 2 years ago

I will try to extend the documentation based on this.

The "Open admin panel..." sentence should mean, that django-admin-charts is configurable through Django admin interface: Snímek obrazovky_2022-03-04_17-29-58

You will have to add Dashboard stats and fill in the apropriate values for your models: Snímek obrazovky_2022-03-04_17-31-16

The charts should show up directly on root admin page as well as on the new analytics page at /admin_tools_stats/analytics/.

You shouldn't expect anything directly on the included page (/admin_tools_stats/)in Django, because it includes multiple urls.

semics-tech commented 2 years ago

I'm also in a similar place to this. It would be really helpful if you could supply some example charts that can just be imported or generated. Is this something that exists or could be considered?

PetrDlouhy commented 2 years ago

@semics-tech The point of this project is, that the charts are highly configurable, so every project could have it's own charts configured according to it's database model.

If you want some pre-configured charts, some should be part of the demoproject.

I aggree that this project should be made more accessible, and I am willing to put some effort into it, but also I don't have much time, so every help is appreciated.

PetrDlouhy commented 2 years ago

@semics-tech Also, I think the best way to make this project more accessible is to make the documentation and especially the help texts in the application more helpful. So if you tell me, where exactly are you stuck, I can give you advice and put that info in the documentation/help texts.

PetrDlouhy commented 1 year ago

I am closing this issue because it seems the original issue is now resolved.