Skip to content

Commit

Permalink
adding MappingSetting serializer
Browse files Browse the repository at this point in the history
Adding MappingSetting serializer
  • Loading branch information
Sravanksk authored Jun 17, 2021
2 parents 054454e + 0b9a7be commit a3a0ba3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion fyle_accounting_mappings/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Mapping Serializers
"""
from rest_framework import serializers
from .models import ExpenseAttribute, DestinationAttribute, Mapping
from .models import ExpenseAttribute, DestinationAttribute, Mapping, MappingSetting


class ExpenseAttributeSerializer(serializers.ModelSerializer):
Expand All @@ -23,6 +23,15 @@ class Meta:
fields = '__all__'


class MappingSettingSerializer(serializers.ModelSerializer):
"""
Mapping Setting serializer
"""
class Meta:
model = MappingSetting
fields = '__all__'


class MappingSerializer(serializers.ModelSerializer):
"""
Mapping serializer
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='fyle-accounting-mappings',
version='1.0.0',
version='1.0.1',
author='Shwetabh Kumar',
author_email='[email protected]',
description='Django application to store the fyle accounting mappings in a generic manner',
Expand Down

0 comments on commit a3a0ba3

Please sign in to comment.