Changes between Initial Version and Version 1 of Ticket #35966
- Timestamp:
- Dec 3, 2024, 2:11:26 AM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35966 – Description
initial v1 6 6 Basically, I expect: 7 7 8 ```python 8 9 10 {{{ 9 11 from django.views.generic import TemplateView 10 12 11 13 class MyView(TemplateView): 12 14 template_name = 'my.html' 13 ``` 15 }}} 16 17 14 18 15 19 to raise an error during `python manage.py check` if `my.html` cannot be found with `TEMPLATE` loader settings. When `MyView` is present in `urls.py` as: 16 20 17 ```python 21 22 {{{ 18 23 urlpatterns = [ 19 24 path('/whatever', MyView.as_view(), name='whatever'), 20 25 ] 21 ``` 26 }}} 27 28 22 29 23 30 What do others think?