Browse Source

Criando o modelo de registro de servicos

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

12
sigi/apps/servicos/models.py

@ -194,4 +194,14 @@ class ServicoManifesto(models.Model):
hospedagem_interlegis = models.BooleanField(u'Hospedagem no Interlegis?')
class Meta:
unique_together = ('casa_manifesta', 'servico')
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