Browse Source

Criando o modelo de registro de servicos

producao
Breno Teixeira 11 years ago
parent
commit
963ad000c4
  1. 10
      sigi/apps/servicos/models.py

10
sigi/apps/servicos/models.py

@ -195,3 +195,13 @@ class ServicoManifesto(models.Model):
class Meta:
unique_together = ('casa_manifesta', 'servico')
class RegistroServico(models.Model):
produto = models.CharField(max_length=50)
versao = models.CharField(max_length=30)
url = models.URLField()
data_registro = models.DateTimeField(auto_now=True)
class Meta:
verbose_name_plural = u'Registro de serviços'
Loading…
Cancel
Save