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

example app: Uncaught Reference Error: jQuery is not defined. #62

Open
pwhipp opened this issue Apr 7, 2015 · 0 comments
Open

example app: Uncaught Reference Error: jQuery is not defined. #62

pwhipp opened this issue Apr 7, 2015 · 0 comments

Comments

@pwhipp
Copy link
Collaborator

pwhipp commented Apr 7, 2015

4250d25

I'm running the example project locally having cloned the project.

I get the error above in bootstrap.min.js when opening localhost:8000 (the menu still works and tables appear but no charts). After clearing the caches I see the same error on your demo at http://django-model-report.herokuapp.com/.

I tried loading jQuery first (moving the jQuery loads up from report.html) and got a different error ('a' undefined)...

So I set things up with actual bootstrap files locally (swapping out the mins - not nec. for an example IMO). I got it sorta working with a chart at least appearing (on the Browser List page) but it is all white. the percentages pop up and the labelling works.

I'm guessing this needs some serious updating (I used Boostrap 3.0, jquery 2.1.3 and jquery-ui 1.11.4 when pulling in the new files). If I persevere with this I'm going to need to upgrade it from django 1.4 to 1.7.7 (and ideally on to 1.8 at some stage).

I'll continue working on this. If you are interested in a pull request, let me know. The fork is at https://github.com/pwhipp/django-model-report.

FWIW, the demo should show one or more charts at its default settings when it opens.

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

1 participant