ernestophone.ens.fr/pads/models.py
Martin Pépin 69b0b13ad3 Nettoyage
- PEP8
- Fichiers inutilisés
2016-07-14 01:58:52 +02:00

14 lines
302 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.