+
+
+{% endblock %}
+
+{% block css %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/oef/templates/oef/entry_table.html b/oef/templates/oef/entry_table.html
index a30707ef..6f5d2df5 100644
--- a/oef/templates/oef/entry_table.html
+++ b/oef/templates/oef/entry_table.html
@@ -5,6 +5,8 @@
{% block content %}
+View All
+
Filter Entries
diff --git a/oef/urls.py b/oef/urls.py
index 45da80ae..d3a7e5af 100644
--- a/oef/urls.py
+++ b/oef/urls.py
@@ -26,6 +26,9 @@ urlpatterns = [
path(
"entries/questions", views.questions, name="questions"
),
+ path(
+ "entries/all", views.entries, name="entries"
+ ),
path(
"entries/questions_diff", views.questions_diff, name="questions_diff"
),
diff --git a/oef/views.py b/oef/views.py
index 3504e8be..5e073306 100644
--- a/oef/views.py
+++ b/oef/views.py
@@ -91,6 +91,11 @@ def replace_questions(request):
else:
return render(request, "oef/replace_questions.html", {})
+def entries(request):
+ entries = Entry.objects.all()
+ return render(request, "oef/entries.html", {"entries": entries})
+
+
def questions(request):
questions = set(Entry.objects.filter(inactive=False).values_list("questions", flat=True))