Browse Source

Rename LexmlPublicador model and reset migrations

pull/6/head
Marcio Mazza 10 years ago
parent
commit
827aea3daa
  1. 2
      lexml/migrations/0001_initial.py
  2. 2
      lexml/models.py

2
lexml/migrations/0001_initial.py

@ -29,7 +29,7 @@ class Migration(migrations.Migration):
}, },
), ),
migrations.CreateModel( migrations.CreateModel(
name='LexmlRegistroPublicador', name='LexmlPublicador',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('id_publicador', models.IntegerField(verbose_name='Id do publicador')), ('id_publicador', models.IntegerField(verbose_name='Id do publicador')),

2
lexml/models.py

@ -18,7 +18,7 @@ class LexmlProvedor(models.Model): # LexmlRegistroProvedor
verbose_name_plural = _(u'Provedores Lexml') 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 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 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 email_responsavel = models.CharField(max_length=50, blank=True, null=True, verbose_name=_(u'E-mail do responsável')) # adm_email

Loading…
Cancel
Save