placeholder view & code for my_lists.html implemented
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
{% extends "core/base.html" %}
|
{% extends "core/base.html" %}
|
||||||
|
|
||||||
{% block header_text %}{{ user.email }}'s lists{% endblock header_text %}
|
{% block header_text %}{{ user.email }}'s lists{% endblock header_text %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h3>{{ owner.email }}'s lists</h3>
|
||||||
|
<ul>
|
||||||
|
{% for list in owner.lists.all %}
|
||||||
|
<li><a href="{{ list.get_absolute_url }}">{{ list.name }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endblock content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user