Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'No charts available, please configure them' appear. What should I do? #62

Closed
tnajun opened this issue Jun 2, 2023 · 4 comments
Closed

Comments

@tnajun
Copy link

tnajun commented Jun 2, 2023

'No charts available, please configure them' appear on the left of dashboard stats. What should I do to turn off the comment? Please note Jazzmin is installed.

スクリーンショット 2023-06-02 112000

@swills1
Copy link

swills1 commented Jul 4, 2023

@tnajun, I'm absolutely brand new to this package / app. I am reading through it all to see it it will fit my project.

If you search the code, you can see that message most likely comes from chart_containers.html.

It uses a for and inside that for an {% empty %}. Which means, if the array is empty, it will display No charts available, please <a href="{% url 'admin:admin_tools_stats_dashboardstats_changelist' %}">configure them</a>.

See here for more details and an example.
https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#for-empty

Have you clicked on the link? If so, where does it take you and what options does it give you to "configure"?

That is where I would start. Then provide more detail if possible.

@PetrDlouhy
Copy link
Owner

Is it possible, that this is might be solved by #72?

@santiago1114
Copy link

Yes, it doesn't appears...

image

image

@PetrDlouhy
Copy link
Owner

Closing this since it appears to be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants