File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
source_code_final/entries/templates/entries
source_code_step_4/entries/templates/entries
source_code_step_5/entries/templates/entries
source_code_step_6/entries/templates/entries Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55 < h2 class ="mark "> {% now "Y-m-d H:i" %}</ em > </ h2 >
66 < a href ="{% url 'entry-create' %} "> < button > Add new entry</ button > </ a >
77 </ article >
8- {% for entry in object_list %}
8+ {% for entry in entry_list %}
99 < article >
1010 < h2 class ="{{ entry.date_created|date:'l' }} ">
1111 {{ entry.date_created|date:'Y-m-d H:i' }}
1717 </ h3 >
1818 </ article >
1919 {% endfor %}
20- {% endblock %}
20+ {% endblock %}
Original file line number Diff line number Diff line change 11{% extends "entries/base.html" %}
22
33{% block content %}
4- {% for entry in object_list %}
4+ {% for entry in entry_list %}
55 < article >
66 < h2 class ="{{ entry.date_created|date:'l' }} ">
77 {{ entry.date_created|date:'Y-m-d H:i' }}
1313 </ h3 >
1414 </ article >
1515 {% endfor %}
16- {% endblock %}
16+ {% endblock %}
Original file line number Diff line number Diff line change 11{% extends "entries/base.html" %}
22
33{% block content %}
4- {% for entry in object_list %}
4+ {% for entry in entry_list %}
55 < article >
66 < h2 class ="{{ entry.date_created|date:'l' }} ">
77 {{ entry.date_created|date:'Y-m-d H:i' }}
Original file line number Diff line number Diff line change 55 < h2 class ="mark "> {% now "Y-m-d H:i" %}</ em > </ h2 >
66 < a href ="{% url 'entry-create' %} "> < button > Add new entry</ button > </ a >
77 </ article >
8- {% for entry in object_list %}
8+ {% for entry in entry_list %}
99 < article >
1010 < h2 class ="{{ entry.date_created|date:'l' }} ">
1111 {{ entry.date_created|date:'Y-m-d H:i' }}
You can’t perform that action at this time.
0 commit comments