Agregar campo a Personas
This commit is contained in:
parent
f6c72317c3
commit
a20420f90d
|
@ -51,6 +51,8 @@ class Person(models.Model):
|
|||
default=False)
|
||||
is_director = models.BooleanField('Es Director',
|
||||
default=False)
|
||||
is_woman = models.BooleanField('Es mujer',
|
||||
default=False)
|
||||
photo = models.ImageField('Fotografía', upload_to='%Y/%m/%d/',
|
||||
null=True, blank=True)
|
||||
objects = PersonQuerySet.as_manager()
|
||||
|
|
Loading…
Reference in New Issue