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 %}