class Group models Model name models CharField max_length max_length 1

1
2
3
4
5
class Group(models.Model):
name = models.CharField(max_length=3, max_length=100) # название
num_users = models.IntegerField(default=0) # участников
created = models.DateTimeField(auto_now_add=True)