django-rosetta
django-rosetta copied to clipboard
Can I host required js locally?
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
I just overwrote the template. But would be cool if there was a setting for that.
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:
https://github.com/mbi/django-rosetta/blob/65fa6f1b71576b8acd945f51f4a268bb388cdc63/rosetta/templates/rosetta/js/rosetta.js#L3
I think you can safely ignore that line, it's really not required to use Rosetta.