added tests for company viewset

This commit is contained in:
Sam
2021-01-22 11:42:24 +00:00
parent 40e6c09d10
commit 1df9aac998
4 changed files with 306 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class Company(models.Model):
(PRESTASHOP, 'Prestashop'),
)
cif = models.CharField('CIF', max_length=10, null=True, blank=True)
cif = models.CharField('CIF', max_length=15, null=True, blank=True)
company_name = models.CharField('Razón Social Cooperativa', max_length=1000, null=True, blank=True)
short_name = models.CharField('Apócope', max_length=100, null=True, blank=True) # autogenerar si blank
web_link = models.URLField('Enlace a la web', null=True, blank=True)