kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix: allow blank summary field in ActorSerializer
rodzic
817a710c2e
commit
0c88b63d78
|
@ -0,0 +1 @@
|
|||
Allow summary field of actors to be blank. This leaves actors valid that have a blank (`""`) summary field and allows follows from those.
|
|
@ -247,6 +247,7 @@ class ActorSerializer(jsonld.JsonLdSerializer):
|
|||
truncate_length=common_models.CONTENT_TEXT_MAX_LENGTH,
|
||||
required=False,
|
||||
allow_null=True,
|
||||
allow_blank=True
|
||||
)
|
||||
followers = serializers.URLField(max_length=500, required=False)
|
||||
following = serializers.URLField(max_length=500, required=False, allow_null=True)
|
||||
|
|
Ładowanie…
Reference in New Issue