6 lines
197 B
Python
6 lines
197 B
Python
|
from rest_framework import serializers
|
||
|
from api.TestAddress.model import Address
|
||
|
class AddressSerializer(serializers.ModelSerializer):
|
||
|
class Meta:
|
||
|
model=Address
|
||
|
fields="__all__"
|