Add rabbit and trotec cert dates
This commit is contained in:
parent
28b8de41a8
commit
44d50735bf
|
@ -53,6 +53,8 @@ class Member(models.Model):
|
||||||
wood_cert_date = models.DateField(blank=True, null=True, default=None)
|
wood_cert_date = models.DateField(blank=True, null=True, default=None)
|
||||||
wood2_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)
|
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)
|
paused_date = models.DateField(blank=True, null=True)
|
||||||
monthly_fees = models.IntegerField(default=55, blank=True, null=True)
|
monthly_fees = models.IntegerField(default=55, blank=True, null=True)
|
||||||
|
|
||||||
|
|
|
@ -144,6 +144,8 @@ class MemberSerializer(serializers.ModelSerializer):
|
||||||
'wood_cert_date',
|
'wood_cert_date',
|
||||||
'wood2_cert_date',
|
'wood2_cert_date',
|
||||||
'cnc_cert_date',
|
'cnc_cert_date',
|
||||||
|
'rabbit_cert_date',
|
||||||
|
'trotec_cert_date',
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_status(self, obj):
|
def get_status(self, obj):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user