diff --git a/django_school/classroom/templates/classroom/Books/icse.html b/django_school/classroom/templates/classroom/Books/icse.html
new file mode 100644
index 00000000..75591b22
--- /dev/null
+++ b/django_school/classroom/templates/classroom/Books/icse.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ ICSE Books
+
+
+
+
+
\ No newline at end of file
diff --git a/django_school/classroom/templates/classroom/Books/ncert.html b/django_school/classroom/templates/classroom/Books/ncert.html
new file mode 100644
index 00000000..11fed765
--- /dev/null
+++ b/django_school/classroom/templates/classroom/Books/ncert.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ NCERT Books
+
+
+
+
+
\ No newline at end of file
diff --git a/django_school/classroom/views/teachers.py b/django_school/classroom/views/teachers.py
index 9237f2f5..45234f76 100644
--- a/django_school/classroom/views/teachers.py
+++ b/django_school/classroom/views/teachers.py
@@ -13,6 +13,7 @@
from ..decorators import teacher_required
from ..forms import BaseAnswerInlineFormSet, QuestionForm, TeacherSignUpForm
from ..models import Answer, Question, Quiz, User
+from ..models import Question
class TeacherSignUpView(CreateView):
@@ -206,7 +207,8 @@ def delete(self, request, *args, **kwargs):
return super().delete(request, *args, **kwargs)
def get_queryset(self):
- return Question.objects.filter(quiz__owner=self.request.user)
+ teacher=Question.objects.filter(quiz__owner=self.request.user)
+ return
def get_success_url(self):
question = self.get_object()