Changes between Initial Version and Version 1 of Ticket #31026, comment 2
- Timestamp:
- Nov 24, 2019, 8:57:14 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31026, comment 2
initial v1 1 1 I think that it makes sense. It'd be great if you could do a bit of research on #15667 to figure if this was simply overlooked or if there was a reason for not doing it in the first place. 2 2 3 I think there's also a ticket out there to allow `Form.__str__()` to use `as_p` or `as_ul` instead of `as_table` by default. If we were using template based rendering we could simply define a `django/forms/default.html` that `{% include "django/forms/table.html" %}`, use it in `.__str__()` and document that the former must be overridden to achieve the desired behaviour.3 I think there's also a ticket out there to allow `Form.__str__()` to use `as_p` or `as_ul` instead of `as_table` by default. If we were using template based rendering we could simply define a `django/forms/default.html` that `{% include "django/forms/table.html" %}`, use it in `.__str__()`, and document that the former must be overridden to achieve the desired behaviour.