From 99ffe7273b46dc8b76f8deb0428c0bff36346c63 Mon Sep 17 00:00:00 2001 From: Guilherme Gondim Date: Thu, 9 Oct 2008 21:26:52 +0000 Subject: [PATCH] =?UTF-8?q?Pequenas=20modifica=C3=A7=C3=B5es=20no=20layout?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/convenios/models.py | 2 +- sigi/templates/admin/base_site.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sigi/apps/convenios/models.py b/sigi/apps/convenios/models.py index 98d19d1..060a1e7 100644 --- a/sigi/apps/convenios/models.py +++ b/sigi/apps/convenios/models.py @@ -68,7 +68,7 @@ class EquipamentoPrevisto(models.Model): class Anexo(models.Model): convenio = models.ForeignKey(Convenio, verbose_name='convênio') - arquivo = models.FileField(upload_to='arquivos/anexos',) + arquivo = models.FileField(upload_to='apps/convenios/anexo/arquivo',) descricao = models.CharField('descrição', max_length='70') data_pub = models.DateTimeField( 'data da publicação do anexo', diff --git a/sigi/templates/admin/base_site.html b/sigi/templates/admin/base_site.html index b42b479..5c37c52 100644 --- a/sigi/templates/admin/base_site.html +++ b/sigi/templates/admin/base_site.html @@ -10,6 +10,9 @@ {% block extrahead %} + + {% endblock %} {% block branding %}