phd-site/mainsite/models.py
2024-11-14 01:07:19 +01:00

9 lines
269 B
Python

from django.db import models
class Presence(models.Model):
name = models.CharField(max_length=256, blank=False, null=False, verbose_name="Nom")
created = models.DateTimeField(auto_now=False, auto_now_add=True)
def __str__(self):
return self.name