Commit e7327f97 authored by DmitSPopov's avatar DmitSPopov
Browse files

Add id fields in json output data

parent 64dc78d9
......@@ -31,7 +31,7 @@ class TagsSchema(ma.SQLAlchemyAutoSchema):
load_instance = True
include_relationships = True
connect_tags = ma.Nested(TagsGlobalSchema(only=['tag_name', ]))
connect_tags = ma.Nested(TagsGlobalSchema(only=['tag_name', 'id']))
class AdvertisementSchema(ma.SQLAlchemyAutoSchema):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment