From 838f1585f18722b3913b70363ca73a84305802f9 Mon Sep 17 00:00:00 2001 From: Lincoln de Sousa Date: Thu, 27 Sep 2007 09:44:06 -0300 Subject: [PATCH] =?utf8?q?ajeitando=20a=20edi=C3=A7=C3=A3o=20de=20dados=20?= =?utf8?q?tanto=20de=20palestrante=20quanto=20de=20participante.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- eventos/models.py | 2 +- templates/base.html | 3 ++- ...r_palestrante.html => editar_usuario.html} | 2 +- views.py | 23 +++++++++++++------ 4 files changed, 20 insertions(+), 10 deletions(-) rename templates/{editar_palestrante.html => editar_usuario.html} (91%) diff --git a/eventos/models.py b/eventos/models.py index d770b1f..825f3da 100644 --- a/eventos/models.py +++ b/eventos/models.py @@ -100,7 +100,7 @@ class Participante(models.Model): comercial = models.BooleanField(default=False) usuario = models.ForeignKey(User) - refbanco = models.IntegerField() + refbanco = models.IntegerField(editable=False) class Admin: pass diff --git a/templates/base.html b/templates/base.html index 88f9392..57fc567 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,10 +15,11 @@