This commit is contained in:
2025-05-08 14:42:39 +03:00
parent 3a6927c180
commit 84c339d556
9 changed files with 434 additions and 68 deletions

View File

@@ -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')