﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28942	ChoiceWidget.option_template_name ignores TEMPLATES DIRS	Maksim Iakovlev	nobody	"Django can only find template if it located in app dir (if path relative to BASE_DIR is `myapp/templates/myapp/mytemplate.html`), but raises TemplateDoesNotExist if template located in custom dir specified in TEMPLATES DIRS (if path relative to BASE_DIR is `templates/myapp/mytemplate.html`).

{{{
class MyWidget(ChoiceWidget):
    option_template_name = 'myapp/mytemplate.html'
}}}

{{{
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(BASE_DIR, 'templates'),
        ],
        'APP_DIRS': True,
...
}}}"	Bug	new	Forms	1.11	Normal				Unreviewed	0	0	0	0	0	0
