Including other app template files

asked 2013-08-22 09:24:00 -0500

shano gravatar image

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/'

    ('default/media', os.path.join(ASKBOT_ROOT, 'media')),

to 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?

edit retag flag offensive close merge delete