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

toolbar.js ReferenceError 1.10.1 #1101

Closed
ghost opened this issue Sep 12, 2018 · 2 comments
Closed

toolbar.js ReferenceError 1.10.1 #1101

ghost opened this issue Sep 12, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2018

Hello,

with the Django Version 1.11.15 and django-debug-toolbar 1.10.1 I get a ReferenceError in Chrome:

error

With 1.9.1 everything works fine.

@matthiask
Copy link
Member

That's a surprising error. Line 306 of toolbar.js does not contain any mention of djdt in 1.10.1:

options.expires ? '; expires=' + options.expires.toUTCString() : '',

Sure enough, in 1.9.1. it does:

Are you sure that you run collectstatic? Or that the installation isn't broken in some other way?

@ghost
Copy link
Author

ghost commented Sep 12, 2018

It was a chrome caching problem ... Delete cookies etc. . It works now.
Thanks!

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