Changes between Initial Version and Version 1 of Ticket #35966


Ignore:
Timestamp:
Dec 3, 2024, 2:11:26 AM (3 months ago)
Author:
Sobolev Nikita
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35966 – Description

    initial v1  
    66Basically, I expect:
    77
    8 ```python
     8
     9
     10{{{
    911from django.views.generic import TemplateView
    1012
    1113class MyView(TemplateView):
    1214     template_name = 'my.html'
    13 ```
     15}}}
     16
     17
    1418
    1519to 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:
    1620
    17 ```python
     21
     22{{{
    1823urlpatterns = [
    1924    path('/whatever', MyView.as_view(), name='whatever'),
    2025]
    21 ```
     26}}}
     27
     28
    2229
    2330What do others think?
Back to Top