Add list view and admin for bookmarks
This commit is contained in:
8
bookmarks/templates/bookmarks/bookmark_list.html
Normal file
8
bookmarks/templates/bookmarks/bookmark_list.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<h1>Bookmarks</h1>
|
||||
<ul>
|
||||
{% for bookmark in object_list %}
|
||||
<li>{{ bookmark.title }} - {{ bookmark.url }}</li>
|
||||
{% empty %}
|
||||
<li>No bookmarks yet.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user