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

Readme doesn't explain what to change in urls.py #51

Closed
andybak opened this issue Apr 27, 2020 · 4 comments
Closed

Readme doesn't explain what to change in urls.py #51

andybak opened this issue Apr 27, 2020 · 4 comments

Comments

@andybak
Copy link

andybak commented Apr 27, 2020

It might be obvious to you but it won't be to some.

@edras
Copy link
Contributor

edras commented May 5, 2020

I installed this plugin today and it works fine.
in my urls.py I added two entries:

  1. Entry to call templateView:
    path('url_chart_path', TemplateView.as_view(template_name='chart.html'), name='some_name'),
  2. Entry for the AJAX request called in 'chart.html'
    path('json_path', views.LineChartJSONView.as_view(), name='line_chart_json'),

@Natim
Copy link
Collaborator

Natim commented May 5, 2020

@edras do you feel like adding that in the README?

@edras
Copy link
Contributor

edras commented May 5, 2020

Ok @Natim, it is done!

@Natim
Copy link
Collaborator

Natim commented May 6, 2020

Fixed in 5a4f1e0

@Natim Natim closed this as completed May 6, 2020
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