From 827aea3daaa6ea6541da2253fcfe2d5472c72981 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Mon, 6 Jul 2015 22:17:28 -0300 Subject: [PATCH] Rename LexmlPublicador model and reset migrations --- lexml/migrations/0001_initial.py | 2 +- lexml/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lexml/migrations/0001_initial.py b/lexml/migrations/0001_initial.py index d5bdf0307..1008890da 100644 --- a/lexml/migrations/0001_initial.py +++ b/lexml/migrations/0001_initial.py @@ -29,7 +29,7 @@ class Migration(migrations.Migration): }, ), migrations.CreateModel( - name='LexmlRegistroPublicador', + name='LexmlPublicador', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id_publicador', models.IntegerField(verbose_name='Id do publicador')), diff --git a/lexml/models.py b/lexml/models.py index 19e613227..1d123f943 100644 --- a/lexml/models.py +++ b/lexml/models.py @@ -18,7 +18,7 @@ class LexmlProvedor(models.Model): # LexmlRegistroProvedor verbose_name_plural = _(u'Provedores Lexml') -class LexmlRegistroPublicador(models.Model): +class LexmlPublicador(models.Model): id_publicador = models.IntegerField(verbose_name=_(u'Id do publicador')) # id_publicador nome = models.CharField(max_length=255, verbose_name=_(u'Nome do publicador')) # nom_publicador email_responsavel = models.CharField(max_length=50, blank=True, null=True, verbose_name=_(u'E-mail do responsável')) # adm_email