Добавлен базовый шаблон. Сделано наследование шаблона

This commit is contained in:
2015-05-16 15:37:53 +05:00
parent 030522e519
commit e0f6275268
7 changed files with 44 additions and 49 deletions

View File

@@ -1,10 +1,8 @@
<html>
<head>
<title>Типы изделий</title>
<meta content="">
<style></style>
</head>
<body>
{% extends "asuzr/base.html" %}
{% block title %}Типы изделий{% endblock %}
{% block page %}
{% if product_list %}
<ul>
{% for prod in product_list %}
@@ -14,5 +12,5 @@
{% else %}
<p>Список изделий пуст</p>
{% endif %}
</body>
</html>
{% endblock %}