initial commit
This commit is contained in:
8
serializers.py
Normal file
8
serializers.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# serializers.py
|
||||
from rest_framework import serializers
|
||||
from axc_ul.models import Pixel
|
||||
|
||||
class PixelSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Pixel
|
||||
fields = ('hpid', 'counts', 'exposure', 'contaminated')
|
Reference in New Issue
Block a user