Tablas hechas
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
|
||||
class Lista(models.Model):
|
||||
nombre = models.CharField(max_length=200, null=False, blank=False)
|
||||
|
||||
def __str__(self):
|
||||
return f"<{self.nombre}>"
|
||||
|
||||
Reference in New Issue
Block a user