settings.configure silently allows TEMPLATE_DIRS configuration error
|Reported by:||mckoss||Owned by:||Gary Wilson|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Silently accepted, even though the code is expecting an array of path strings.
Either a) generate an error message when invalid settings are set, or b) allow this setting to be either a single directory OR a sequence
Note that configuration errors like this can be very painful to track down - as the site of the error is quite far from the results (in this case, the template system is unable to find the file ... but there is no indication as to why that is the case w/o debugging the Django sources - which is what I did finally to figure out my mistake).
Change History (8)
comment:5 Changed 6 years ago by
|Owner:||changed from nobody to Gary Wilson|
|Status:||new → assigned|