mirror of https://github.com/snachodog/mybuddy.git
Remove UserSerializer
This commit is contained in:
parent
878ff64fad
commit
02ea6487d5
|
@ -259,12 +259,6 @@ class TummyTimeSerializer(CoreModelWithDurationSerializer, TaggableSerializer):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class UserSerializer(serializers.ModelSerializer):
|
|
||||||
class Meta:
|
|
||||||
model = User
|
|
||||||
fields = ("id", "username")
|
|
||||||
|
|
||||||
|
|
||||||
class WeightSerializer(CoreModelSerializer, TaggableSerializer):
|
class WeightSerializer(CoreModelSerializer, TaggableSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.Weight
|
model = models.Weight
|
||||||
|
|
Loading…
Reference in New Issue