diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2bccfc449..ba368f14f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,17 +2,9 @@
-
-
-
-
-
-
-
-
@@ -35,6 +27,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -46,8 +49,8 @@
-
-
+
+
@@ -55,12 +58,26 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
@@ -68,25 +85,13 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
@@ -136,10 +141,10 @@
-
-
-
+
+
+
@@ -338,13 +343,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -358,14 +376,6 @@
-
-
-
-
-
-
-
-
@@ -380,28 +390,10 @@
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -469,27 +461,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -560,28 +534,10 @@
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -605,27 +561,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -656,7 +594,6 @@
-
@@ -710,41 +647,50 @@
-
-
-
-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
+
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cookbook/templates/index.html b/cookbook/templates/index.html
index 2ef3724a1..e18077a15 100644
--- a/cookbook/templates/index.html
+++ b/cookbook/templates/index.html
@@ -15,15 +15,12 @@
{{ filter.form.as_p }}
- {% for obj in filter.qs %}
- {{ obj.name }} - ${{ obj.price }}
- {% endfor %}
{% if recipes %}
- {% render_table table %}
+ {% render_table recipes %}
{% else %}
{% trans "Log in to view Recipies" %}
diff --git a/cookbook/views.py b/cookbook/views.py
index eb980bae3..8e77f5c72 100644
--- a/cookbook/views.py
+++ b/cookbook/views.py
@@ -12,7 +12,7 @@ def index(request):
if request.user.is_authenticated:
f = RecipeFilter(request.GET, queryset=Recipe.objects.all())
- table = RecipeTable(f.queryset)
+ table = RecipeTable(f.qs)
RequestConfig(request, paginate={'per_page': 3}).configure(table)
return render(request, 'index.html', {'recipes': table, 'filter': f})