Added presentation_name to to_json shortcut, bumped version

This commit is contained in:
Oracle
2025-05-05 10:58:28 +02:00
parent 8fe8d5ec8c
commit 60ac1a49cc
2 changed files with 3 additions and 3 deletions

View File

@@ -25,8 +25,8 @@ class AsyncronQuerySet( models.QuerySet ):
return mapping
def to_json( self, *structure ):
return [ m.fields_to_dict( *structure ) for m in self ]
def to_json( self, *structure, presentation_name = None ):
return [ m.fields_to_dict( *structure, presentation_name = presentation_name ) for m in self ]