parent
f55f8a636e
commit
347ed1536a
@ -313,8 +313,9 @@ class Articulos(models.Model):
|
||||
|
||||
def __str__(self):
|
||||
return 'Nombre: %s, Depto. %s, Precio $ %s' % (self.nombre, self.seccion, self.precio)
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
python3 manage.py makemigrations
|
||||
python3 manage.py migrate
|
||||
python3 manage.py shell
|
||||
|
Loading…
Reference in New Issue
Block a user