Clean: CRUD with REST
This commit is contained in:
parent
bce6c82024
commit
ccbc538f9c
1 changed files with 7 additions and 0 deletions
7
proxy/serializers.py
Normal file
7
proxy/serializers.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from rest_framework import serializers
|
||||
from .models import Well
|
||||
|
||||
class WellSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Well
|
||||
fields = '__all__'
|
Loading…
Add table
Add a link
Reference in a new issue