Private
Public Access
1
0

adding back standard collection

This commit is contained in:
Sander Roosendaal
2020-05-31 17:00:24 +02:00
parent bcede0cf99
commit 6d93cc62ce

View File

@@ -2183,14 +2183,14 @@ class PlannedSession(models.Model):
from django.core.validators import RegexValidator,validate_email
#class StandardCollection(models.Model):
# name = models.CharField(max_length=150)
# manager = models.ForeignKey(User, null=True,on_delete=models.CASCADE)
# notes = models.CharField(blank=True,null=True,max_length=1000)
# active = models.BooleanField(default=True)
class StandardCollection(models.Model):
name = models.CharField(max_length=150)
manager = models.ForeignKey(User, null=True,on_delete=models.CASCADE)
notes = models.CharField(blank=True,null=True,max_length=1000)
active = models.BooleanField(default=True)
# def __str__(self):
# return self.name
def __str__(self):
return self.name
#class CourseStandard(models.Model):
# name = models.CharField(max_length=150)