diff --git a/categories/views.py b/categories/views.py
index e83be2d..4ec28df 100644
--- a/categories/views.py
+++ b/categories/views.py
@@ -16,5 +16,5 @@ class CategoryModelViewSet(viewsets.ModelViewSet):
def category(request, category_name):
context = {}
context['name'] = category_name
- context['tests'] = Test.objects.filter(category=category_name, invisible=False)
+ context['tests'] = Test.objects.filter(category=category_name, visible=True)
return render(request, 'category.html', context)
\ No newline at end of file
diff --git a/config/views.py b/config/views.py
index 209b7f3..a6157b1 100644
--- a/config/views.py
+++ b/config/views.py
@@ -10,7 +10,7 @@ def home(request):
# TODO replace
#context['tests'] = Test.objects.filter(owner=request.user)
#context['tests'] = Test.objects.all
- context['tests'] = Test.objects.filter(invisible=False)
+ context['tests'] = Test.objects.filter(visible=True)
return render(request, 'home.html', context)
diff --git a/templates/createTest.html b/templates/createTest.html
index e412bd7..8a08049 100644
--- a/templates/createTest.html
+++ b/templates/createTest.html
@@ -11,8 +11,11 @@
-
-
+
+
@@ -39,7 +42,7 @@
diff --git a/templates/editTest.html b/templates/editTest.html
index 2e3c9de..f53f6d4 100644
--- a/templates/editTest.html
+++ b/templates/editTest.html
@@ -88,6 +88,15 @@
Zmien nazwe
+
+
+
+