summaryrefslogtreecommitdiff
path: root/app/notes/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/notes/build.py')
-rw-r--r--app/notes/build.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/notes/build.py b/app/notes/build.py
index 44226f9..fa5dd1d 100644
--- a/app/notes/build.py
+++ b/app/notes/build.py
@@ -1,5 +1,4 @@
from builder.base import *
-from .models import Note
class BuildNotes(Build):
@@ -10,7 +9,7 @@ class BuildNotes(Build):
self.build_detail_pages()
def queryset(self):
- return Note.objects.all()
+ return self.get_model().objects.all()
def get_model(self):
return get_model('notes', 'note')