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 return mapping
def to_json( self, *structure ): def to_json( self, *structure, presentation_name = None ):
return [ m.fields_to_dict( *structure ) for m in self ] return [ m.fields_to_dict( *structure, presentation_name = presentation_name ) for m in self ]

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='asyncron', name='asyncron',
version='0.1.9.3', version='0.1.9.4',
packages=find_packages(), packages=find_packages(),
#include_package_data=True, # Include static files from MANIFEST.in #include_package_data=True, # Include static files from MANIFEST.in
install_requires=[ install_requires=[