Browse Source

Atualiza código devido a deprecated na drf

pull/1117/head
LeandroRoberto 8 years ago
parent
commit
29e30da620
  1. 1
      sapl/api/serializers.py

1
sapl/api/serializers.py

@ -46,6 +46,7 @@ class AutorSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = Autor model = Autor
fields = '__all__'
class MateriaLegislativaSerializer(serializers.ModelSerializer): class MateriaLegislativaSerializer(serializers.ModelSerializer):

Loading…
Cancel
Save