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 graph on home page admin only chart header #78

Open
mykhailo-work opened this issue Sep 27, 2024 · 7 comments
Open

No graph on home page admin only chart header #78

mykhailo-work opened this issue Sep 27, 2024 · 7 comments

Comments

@mykhailo-work
Copy link

Screenshot 2024-09-27 at 17 25 53
@PetrDlouhy
Copy link
Owner

What I see on the bottom of the screenshot seems like the Chart headers. Below it should be the chart itself.

@mykhailo-work
Copy link
Author

mykhailo-work commented Sep 27, 2024

I didn't get any graph below only Chart header on the home page. You can look on the HTML.

django = "^5.0.3"

@mykhailo-work mykhailo-work changed the title No graph on home page admin No graph on home page admin only chart header Sep 27, 2024
@PetrDlouhy
Copy link
Owner

Well, you would need to do some more digging. With this information I can't tell anything.

  • What are your Dashboard stats setings
  • Is something logged in the Console
  • What are your app settings
    ...

@mykhailo-work
Copy link
Author

mykhailo-work commented Sep 27, 2024

Screenshot 2024-09-27 at 18 19 41 Screenshot 2024-09-27 at 18 19 26 Screenshot 2024-09-27 at 18 39 49

@PetrDlouhy
Copy link
Owner

Could you please send a screenshot of Console tab of the Dev tools after the problematic page load? The Network tab would be helpful to to see if there is no failed request.

@ryan-sangwoo-lee
Copy link

ryan-sangwoo-lee commented Oct 2, 2024

Hello.
I am experiencing the same issue.
The peculiar thing is that the content is inside the footer.

I am attaching a screenshot of the console, network as you requested and a screenshot where you can see it is inside the footer.

Thank you.

Django 5.1.1
django-admin-charts 1.4.0
django-bower 5.2.0
django_csp 3.8
django-debug-toolbar 4.4.6
django-ipware 7.0.1
django-jsonfield 1.4.1
django-light 0.1.0.post3
django-memoize 2.3.1
django-multiselectfield 0.1.13
django-nvd3 0.10.1

스크린샷 2024-10-02 194622
스크린샷 2024-10-02 194639
스크린샷 2024-10-02 194648

@PetrDlouhy
Copy link
Owner

@ryan-sangwoo-lee Thanks you very much. Now I see what might be the problem. In the new version, I introduced dynamic loading of the charts in the admin to speed up admin load in case of bigger data amount.
I am using django-admintools so I there might be some differences in the basic django admin.

I will try to find time to look at this in few days.
In the meantime, you can try some older version - it will probably work.

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

3 participants