Hello Graeme,
Have you tried defining that variable in your settings file?
In the settings.py for your django project try adding this :
JQUERY_FILENAME = "jquery-1.7.2.min.js"
Regards,
K.
On Wednesday, 26 August 2015 19:46:30 UTC-4, Graeme Pietersz wrote:
>
> I am trying to add Mezzanine to an existing project. I have copied
> the TEMPLATE_CONTEXT_PROCESSORS and MIDDLEWARE_CLASSES from the Mezzanine
> project termplate. I have added the URLs, added the call to
> set_dynamic_settings, added all the apps to INSTALLED_APPS including
> filebrowser_safe and grappelli_safe.
>
> The pages from my apps work, but when I go to /admin/ I get
>
> VariableDoesNotExist at /admin/
>
> and the error pages highlights this line:
>
> {% static "mezzanine/js/"|add:settings.JQUERY_FILENAME %}
>
> in grappelli_safe/templates/admin/base.html
>
> or, if I am logged in and go direct to an admin page, the same line in
> mezzanine/core/templates/admin/base_site.html
>
> Where am I going wrong?
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.