Added presentation_name to to_json shortcut, bumped version
This commit is contained in:
parent
8fe8d5ec8c
commit
60ac1a49cc
|
|
@ -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 ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -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=[
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user