Use templates
This commit is contained in:
parent
08dbefa417
commit
297b95a3a8
4 changed files with 65 additions and 12 deletions
11
templates/feeds/feed_list.html
Normal file
11
templates/feeds/feed_list.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Feed List</h1>
|
||||
<ul>
|
||||
{% for feed in feeds %}
|
||||
<li>
|
||||
<a href="{% url 'feed-detail' feed.pk %}">{{ feed.url }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue