From b3ca132a737d1da6c656f9cb3d0e50f32a512afc Mon Sep 17 00:00:00 2001 From: Arthur Gerbaud Date: Sat, 6 Aug 2016 18:16:11 +0200 Subject: [PATCH] fixed bad function name --- notes/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/models.py b/notes/models.py index ff5e27c..45af202 100644 --- a/notes/models.py +++ b/notes/models.py @@ -42,7 +42,7 @@ class Note(models.Model): return @property - def subclass(self): + def child_class(self): if not hasattr(self, '_child_class'): self._get_child_class_and_instance() return self._child_class