django-easy-pdf icon indicating copy to clipboard operation
django-easy-pdf copied to clipboard

Port base template to jinja2

Open gregplaysguitar opened this issue 7 years ago • 0 comments

Django looks in the jinja2 subdirectory, so this should work out of the box with the jinja2 template engine, if APP_DIRS is set to true in the template settings, i.e.

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.jinja2.Jinja2',
        'DIRS': ['[site template dir]'],
        'APP_DIRS': True,
    },
]

gregplaysguitar avatar Apr 23 '17 22:04 gregplaysguitar