Including other app template files
I'm trying to incorporate django-autocomplete-light into askbot, but I need to include some one of the apps template files via:
{% include 'autocomplete_light/static.html' %}
in bottom_scripts.html(after jquery is loaded).
I'm having trouble getting it to include the appropriate file. I've added
ASKBOT_EXTRA_SKINS_DIR = 'askbot/custom/skins/'
STATICFILES_DIRS = (
('default/media', os.path.join(ASKBOT_ROOT, 'media')),
ASKBOT_EXTRA_SKINS_DIR,
)
to settings.py and symlinked the django_autocomplete templates to my askbot/custom/skins directory. Running collectstatic works and copies across the static files, but my include above is still returning
TemplateNotFound at /questions/autocomplete_light/static.html
Does your skins implementation have another way of including extra templates?
Comments