From 44d50735bf8abe6540b71ccd7b65d96b41499223 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 13 Sep 2020 22:07:04 +0000 Subject: [PATCH] Add rabbit and trotec cert dates --- apiserver/apiserver/api/models.py | 2 ++ apiserver/apiserver/api/serializers.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apiserver/apiserver/api/models.py b/apiserver/apiserver/api/models.py index ee4f5c1..a681355 100644 --- a/apiserver/apiserver/api/models.py +++ b/apiserver/apiserver/api/models.py @@ -53,6 +53,8 @@ class Member(models.Model): wood_cert_date = models.DateField(blank=True, null=True, default=None) wood2_cert_date = models.DateField(blank=True, null=True, default=None) cnc_cert_date = models.DateField(blank=True, null=True, default=None) + rabbit_cert_date = models.DateField(blank=True, null=True, default=None) + trotec_cert_date = models.DateField(blank=True, null=True, default=None) paused_date = models.DateField(blank=True, null=True) monthly_fees = models.IntegerField(default=55, blank=True, null=True) diff --git a/apiserver/apiserver/api/serializers.py b/apiserver/apiserver/api/serializers.py index b6a2e54..b1024e2 100644 --- a/apiserver/apiserver/api/serializers.py +++ b/apiserver/apiserver/api/serializers.py @@ -144,6 +144,8 @@ class MemberSerializer(serializers.ModelSerializer): 'wood_cert_date', 'wood2_cert_date', 'cnc_cert_date', + 'rabbit_cert_date', + 'trotec_cert_date', ] def get_status(self, obj):