Código:
TIPO_CONTACTO_CHOICES = (
(1, _('Proveedor')),
(2, _('Cliente')),
(3, _('Colaborador')),
)
class Contacto(models.Model):
"""docstring for ContactoEmpresa"""
nombre = models.CharField(_('empresa'), max_length=80)
email = models.EmailField(_('email'), max_length=75, blank=True)
celular = models.CharField(_('celular'), max_length=20, blank=True)
pais = models.CharField(_('pais'), max_length=255, blank=True)
tipo = models.PositiveSmallIntegerField(_('tipo contacto'),
choices=TIPO_CONTACTO_CHOICES,
blank=True,
null=True)



