Carl, there are other widgets such as 
admin/widgets/related_widget_wrapper.html which include the built-in widget 
templates. It's actually a variable include, {% include 
widget.template_name %}, so copying the included template isn't feasible in 
this case.

Claude, I'm not quite sure what the implementation of your idea would look 
like. One possibility would be automatically add the form template 
directories in each template engine's 'DIRS' [0]. This doesn't seem like a 
good separation of concerns though.

[0] 
https://github.com/django/django/blob/aa69f36984adb6cba5763604150d99e89aa1ee71/django/template/backends/django.py#L32

On Monday, May 16, 2016 at 12:18:44 PM UTC-4, Claude Paroz wrote:
>
> ...always consider templates (not forms, sorry ) in django.forms ...
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ba5cea4b-8d15-49ca-bc71-ea040a4653e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to