From 963ad000c48befeee8ce08a03615985187cf426d Mon Sep 17 00:00:00 2001 From: Breno Teixeira Date: Thu, 15 May 2014 15:42:20 -0300 Subject: [PATCH] Criando o modelo de registro de servicos --- sigi/apps/servicos/models.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sigi/apps/servicos/models.py b/sigi/apps/servicos/models.py index eec8f6c..e43fb08 100644 --- a/sigi/apps/servicos/models.py +++ b/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') \ No newline at end of file + 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' \ No newline at end of file