小编Ana*_*heh的帖子

无效的块标记:'endblock'django

嘿家伙我收到这个错误(无效的块标记:'endblock')指向行号12!我不明白为什么因为我的积木似乎对我好

1{% extends 'base.html' %} <!-- tells that you use the base for most of the look -->
3   
4       {% block jumbotron}
5           <div class="jumbotron">
6             <div class="container">
7               <h1>Connect your world</h1>
8               <p>This is a template .</p>
9               <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p>
10            </div>
11          </div>
12      {% endblock %}
Run Code Online (Sandbox Code Playgroud)

python django django-templates django-views

2
推荐指数
1
解决办法
3515
查看次数

标签 统计

django ×1

django-templates ×1

django-views ×1

python ×1