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

Can I host required js locally? #160

Open
maltebeckmann opened this issue Mar 5, 2016 · 3 comments
Open

Can I host required js locally? #160

maltebeckmann opened this issue Mar 5, 2016 · 3 comments

Comments

@maltebeckmann
Copy link

Couldn't find a setting that lets me host the requires js locally. I cannot make Google API calls in my project.

Any easy way I can do this without forking the app?

https://github.com/mbi/django-rosetta/search?utf8=%E2%9C%93&q=jsapi

@maltebeckmann maltebeckmann changed the title Can I host js locally? Can I host required js locally? Mar 5, 2016
@maltebeckmann
Copy link
Author

I just overwrote the template. But would be cool if there was a setting for that.

@maltebeckmann
Copy link
Author

Hey,

Apologies for pushing another issue on here. I really need Rosetta to work without Google API calls. Like mentioned above, in the absence of a setting, I overwrote the template. But with the new version of 0.79, it appears there now is a reference to something Google related which now means that a simple overwrite of base.html is not sufficient anymore:

google.setOnLoadCallback(function() {

@mbi
Copy link
Owner

mbi commented Mar 8, 2016

I think you can safely ignore that line, it's really not required to use Rosetta.

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

2 participants