Browse Source

Elimina atributo grupo de Autor

pull/529/head
Eduardo Calil 9 years ago
parent
commit
1014f3fe2d
  1. 24
      sapl/materia/migrations/0045_auto_20160823_1658.py
  2. 1
      sapl/materia/models.py

24
sapl/materia/migrations/0045_auto_20160823_1658.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-08-23 19:58
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('materia', '0044_merge'),
]
operations = [
migrations.RemoveField(
model_name='autor',
name='grupo_usuario',
),
migrations.AlterField(
model_name='autor',
name='username',
field=models.CharField(blank=True, max_length=50, verbose_name='Nome de Usuário'),
),
]

1
sapl/materia/models.py

@ -222,7 +222,6 @@ class Autor(models.Model):
verbose_name=_('Nome de Usuário'))
email = models.EmailField(
verbose_name=_('Email'))
grupo_usuario = models.ForeignKey(Group, default=grupo_autor)
class Meta:
verbose_name = _('Autor')

Loading…
Cancel
Save