From 02ea6487d5c43d0a75034d8ee0f01093e0a421e4 Mon Sep 17 00:00:00 2001 From: Paul Konstantin Gerke Date: Mon, 5 Sep 2022 22:11:20 +0200 Subject: [PATCH] Remove UserSerializer --- api/serializers.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api/serializers.py b/api/serializers.py index 102f14d5..f3044409 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -259,12 +259,6 @@ class TummyTimeSerializer(CoreModelWithDurationSerializer, TaggableSerializer): ) -class UserSerializer(serializers.ModelSerializer): - class Meta: - model = User - fields = ("id", "username") - - class WeightSerializer(CoreModelSerializer, TaggableSerializer): class Meta: model = models.Weight