334c1d2f00
Ajoute des changements effectués en prod sans passer par le git
14 lines
301 B
Python
14 lines
301 B
Python
from django.db import models
|
|
|
|
|
|
class Pad(models.Model):
|
|
nom = models.CharField(max_length=100)
|
|
url = models.URLField()
|
|
date = models.DateField(verbose_name="Créé le")
|
|
|
|
def __str__(self):
|
|
return self.nom
|
|
|
|
class Meta:
|
|
verbose_name="Pad"
|
|
# Create your models here.
|