Mudanza de repo
This commit is contained in:
9
api/licence/serializers.py
Normal file
9
api/licence/serializers.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
from .models import Licencia
|
||||
|
||||
class LicenciaSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Licencia
|
||||
fields = '__all__'
|
||||
read_only_fields = ('created_at', 'updated_at')
|
||||
Reference in New Issue
Block a user