Fixed typo
This commit is contained in:
@@ -62,7 +62,7 @@ class BaseModel( models.Model ):
|
||||
"""
|
||||
|
||||
if presentation_name:
|
||||
assert presentation in self._model_presentations, f"This model '{self.__class__}' does not have a '{presentation_name}' presentation!"
|
||||
assert presentation_name in self._model_presentations, f"This model '{self.__class__}' does not have a '{presentation_name}' presentation!"
|
||||
fields.extend( self._model_presentations[presentation_name].fields )
|
||||
|
||||
results = {}
|
||||
|
||||
Reference in New Issue
Block a user