fixed bad function name

This commit is contained in:
Arthur Gerbaud
2016-08-06 18:16:11 +02:00
parent c94b5920c0
commit b3ca132a73

View File

@@ -42,7 +42,7 @@ class Note(models.Model):
return return
@property @property
def subclass(self): def child_class(self):
if not hasattr(self, '_child_class'): if not hasattr(self, '_child_class'):
self._get_child_class_and_instance() self._get_child_class_and_instance()
return self._child_class return self._child_class