Tuesday, 1 May 2018

How to add row in child table using python add_child

row = doc.append('deductions', {})
row.salary_component = "Attendance Violation"
row.amount =doc.deduction_amount

No comments:

Post a Comment

Django rest api - filter

views.py from django_filters.rest_framework import DjangoFilterBackend class PollList(viewsets.ModelViewSet):     queryset = X.objects...