Fixed typo
This commit is contained in:
parent
30f74f6051
commit
a7c6e4a568
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user