update
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# serializers.py
|
||||
# axc_ul/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')
|
||||
# class PixelSerializer(serializers.ModelSerializer):
|
||||
# class Meta:
|
||||
# model = Pixel
|
||||
# fields = ('hpid', 'counts', 'exposure', 'contaminated')
|
||||
|
Reference in New Issue
Block a user