Add missing fields to API

This commit is contained in:
Raphael Michel
2020-07-17 09:31:14 +02:00
parent 9371d221bf
commit 0a87225a9a
5 changed files with 23 additions and 3 deletions

View File

@@ -349,7 +349,7 @@ class QuotaSerializer(I18nAwareModelSerializer):
class Meta:
model = Quota
fields = ('id', 'name', 'size', 'items', 'variations', 'subevent', 'closed', 'close_when_sold_out')
fields = ('id', 'name', 'size', 'items', 'variations', 'subevent', 'closed', 'close_when_sold_out', 'release_after_exit')
def validate(self, data):
data = super().validate(data)