recreates the choices view in facts, allowing for display of any fact category in the system, and providing a random item from it bss/dr.botzo#15
12 lines
290 B
HTML
12 lines
290 B
HTML
{% extends 'facts/base.html' %}
|
|
|
|
{% block title %}item sets{% endblock %}
|
|
|
|
{% block content %}
|
|
<ul>
|
|
{% for factcategory in factcategories %}
|
|
<li><a href="{% url 'facts_factcategory_detail' factcategory.name %}">{{ factcategory.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|