class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('properties', '0005_auto_20170627_2034'),
        ('user', '0004_userprofile_image'),
    ]

    operations = [
        migrations.CreateModel(
            name='SavedProperities',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('prop_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='properties.Properties')),
                ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AlterModelManagers(
            name='userprofile',
            managers=[
                ('userprofile', django.db.models.manager.Manager()),
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('system', '0002_auto_20200425_0630'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('objects', system.models.UserManager()),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='is_staff',
            field=models.BooleanField(default=False),
        ),
        migrations.AlterField(
            model_name='user',
            name='is_superuser',
            field=models.BooleanField(default=False),
        ),
    ]
Exemple #3
0
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('managers', '0004_auto_20170605_1520'),
    ]

    operations = [
        migrations.DeleteModel(
            name='AppUsers',
        ),
        migrations.AlterModelOptions(
            name='userprofile',
            options={'verbose_name': 'user', 'verbose_name_plural': 'users'},
        ),
        migrations.AlterModelManagers(
            name='userprofile',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.RemoveField(
            model_name='userprofile',
            name='id',
        ),
        migrations.RemoveField(
            model_name='userprofile',
            name='user',
        ),
        migrations.AddField(
            model_name='userprofile',
            name='user_ptr',
            field=models.OneToOneField(auto_created=True, default=1, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
    ]
Exemple #4
0
class Migration(migrations.Migration):

    dependencies = [
        ('expense', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='is_active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='user',
            name='is_admin',
            field=models.BooleanField(default=False),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('api', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.AlterField(
            model_name='user',
            name='first_name',
            field=models.CharField(blank=True, max_length=30, null=True),
        ),
        migrations.AlterField(
            model_name='user',
            name='last_name',
            field=models.CharField(blank=True, max_length=150, null=True),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('users', '0015_auto_20161121_1831'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='lilyuser',
            managers=[
                ('objects', lily.users.models.LilyUserManager()),
            ],
        ),
        migrations.AlterField(
            model_name='lilyuser',
            name='groups',
            field=models.ManyToManyField(related_query_name='user', related_name='user_set', to='auth.Group', blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', verbose_name='groups'),
        ),
        migrations.AlterField(
            model_name='lilyuser',
            name='last_login',
            field=models.DateTimeField(null=True, verbose_name='last login', blank=True),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='profile',
            managers=[
                ('objects', accounts.models.CustomUserManager()),
            ],
        ),
        migrations.AddField(
            model_name='profile',
            name='occupation',
            field=models.CharField(choices=[('ADMIN', 'Administrador'),
                                            ('MOD', 'Moderador')],
                                   default='ADMIN',
                                   max_length=5,
                                   verbose_name='Ocupación'),
            preserve_default=False,
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('palanaeum', '0004_auto_20180706_1802'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='entryversion',
            managers=[
                ('newest', django.db.models.manager.Manager()),
            ],
        ),
        migrations.RemoveField(
            model_name='entry',
            name='date',
        ),
        migrations.RemoveField(
            model_name='entry',
            name='paraphrased',
        ),
        migrations.RemoveField(
            model_name='entry',
            name='tags',
        ),
        migrations.RemoveField(
            model_name='urlsource',
            name='entries',
        ),
        migrations.AlterField(
            model_name='entryversion',
            name='tags',
            field=models.ManyToManyField(related_name='versions',
                                         to='palanaeum.Tag'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('inboxen', '0005_auto_20151025_1347'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='partlist',
            managers=[
                ('objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AlterField(
            model_name='inbox',
            name='flags',
            field=models.BigIntegerField(default=0),
        ),
        migrations.AlterField(
            model_name='statistic',
            name='date',
            field=models.DateTimeField(auto_now_add=True, verbose_name=b'date'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('abc_app', '0009_auto_20201101_1809'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='account',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.AlterField(
            model_name='account',
            name='email',
            field=models.EmailField(max_length=60, unique=True, verbose_name='email'),
        ),
        migrations.AlterField(
            model_name='case',
            name='accounts',
            field=models.ManyToManyField(related_name='cases', through='abc_app.CaseLink', to=settings.AUTH_USER_MODEL),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidates', '0030_auto_20160921_1816'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='appointment',
            options={'ordering': ['form_date', 'committee'], 'verbose_name': 'Appointment', 'verbose_name_plural': 'Appointments'},
        ),
        migrations.AlterModelManagers(
            name='appointment',
            managers=[
                ('even_obsolete', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AddField(
            model_name='appointment',
            name='form_date',
            field=models.DateField(default=datetime.datetime(2016, 9, 29, 16, 53, 27, 991629, tzinfo=utc)),
            preserve_default=False,
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('book_reviews', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[],
        ),
        migrations.AddField(
            model_name='review',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True,
                                       default=django.utils.timezone.now),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='review',
            name='updated_at',
            field=models.DateTimeField(auto_now=True),
        ),
    ]
Exemple #13
0
class Migration(migrations.Migration):

    dependencies = [
        ('board', '0004_auto_20200102_1637'),
    ]

    operations = [
        migrations.CreateModel(
            name='Table2',
            fields=[
                ('no', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=30)),
                ('kor', models.IntegerField()),
                ('eng', models.IntegerField()),
                ('math', models.IntegerField()),
                ('regdate', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.AlterModelManagers(
            name='table1',
            managers=[
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('account', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='myuser',
            managers=[
                ('objects', account.models.UserManager()),
            ],
        ),
        migrations.AlterField(
            model_name='myuser',
            name='first_name',
            field=models.CharField(blank=True, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='myuser',
            name='last_name',
            field=models.CharField(blank=True, max_length=100, null=True),
        ),
    ]
Exemple #15
0
class Migration(migrations.Migration):

    dependencies = [
        ('GuitarShopping', '0003_auto_20210205_1419'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='guitar',
            managers=[
                ('object', django.db.models.manager.Manager()),
            ],
        ),
        migrations.RenameField(
            model_name='guitar',
            old_name='model_name',
            new_name='guitar_name',
        ),
        migrations.AddField(
            model_name='guitar',
            name='model_choice',
            field=models.CharField(default='', max_length=30),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('school', '0003_auto_20190408_2341'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='student',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.AlterField(
            model_name='student',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
        migrations.AlterField(
            model_name='teacher',
            name='id',
            field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
        ),
    ]
Exemple #17
0
class Migration(migrations.Migration):

    dependencies = [
        ('company', '0008_auto_20200226_0733'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='income',
            managers=[],
        ),
        migrations.AlterField(
            model_name='income',
            name='percent',
            field=models.DecimalField(
                decimal_places=2,
                default=0,
                max_digits=3,
                validators=[
                    django.core.validators.MaxValueValidator(
                        limit_value=1, message='Максимальное значение 1'),
                    django.core.validators.MinValueValidator(
                        limit_value=-0.5, message='Минимальное значение -0.5')
                ]),
        ),
        migrations.AlterField(
            model_name='income',
            name='premium',
            field=models.FloatField(
                default=0,
                validators=[
                    django.core.validators.MinValueValidator(
                        limit_value=0, message='Премия не меньше 0')
                ]),
        ),
    ]
Exemple #18
0
class Migration(migrations.Migration):

    dependencies = [
        ('surveys', '0003_auto_20160402_1107'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='storysurvey',
            managers=[
                ('public', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AddField(
            model_name='storysurvey',
            name='end',
            field=models.TextField(blank=True),
        ),
        migrations.AddField(
            model_name='storysurvey',
            name='start',
            field=models.TextField(blank=True),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('core', '0002_auto_20180616_1836'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.AddField(
            model_name='conversation',
            name='tags',
            field=models.CharField(blank=True, max_length=500),
        ),
        migrations.AddField(
            model_name='conversation',
            name='title',
            field=models.CharField(blank=True, max_length=300),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('messages', '0003_auto_20170823_1458'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='message',
            managers=[],
        ),
        migrations.AlterField(
            model_name='message',
            name='msg_id',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='msg_msg_id',
                to='messages.MessageRelation'),
        ),
        migrations.AlterField(
            model_name='message',
            name='user_from',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='msg_user_from',
                to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='message',
            name='user_to',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='msg_user_to',
                to=settings.AUTH_USER_MODEL),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('agenda', '0003_activity_long_description'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='activity',
            managers=[
                ('futures', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AddField(
            model_name='activity',
            name='contact_info',
            field=models.TextField(
                default='Contact info',
                help_text=
                'Aqu\xed puedes escribir un n\xfamero telef\xf3nico, un email o un whatsapp.',
                verbose_name=
                'C\xf3mo te pueden contactar las personas interesadas?'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='activity',
            name='important',
            field=models.BooleanField(
                default=False, verbose_name='Es este evento importante?'),
        ),
        migrations.AlterField(
            model_name='activity',
            name='location',
            field=models.TextField(blank=True),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('users', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('object', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AlterField(
            model_name='user',
            name='apellidos',
            field=models.CharField(blank=True, max_length=30),
        ),
        migrations.AlterField(
            model_name='user',
            name='nombres',
            field=models.CharField(blank=True, max_length=30),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ("myauth", "0002_auto_20200515_0801"),
    ]

    operations = [
        migrations.AlterModelManagers(
            name="user",
            managers=[
                ("objects", myauth.models.UserManager()),
            ],
        ),
        migrations.AlterField(
            model_name="user",
            name="first_name",
            field=models.CharField(blank=True,
                                   max_length=150,
                                   verbose_name="first name"),
        ),
        migrations.AlterField(
            model_name="user",
            name="username",
            field=models.CharField(
                error_messages={
                    "unique": "A user with that username already exists."
                },
                help_text=
                "Required. 150 characters or fewer. Letters, digits and ./-/_ only.",
                max_length=150,
                unique=True,
                validators=[myauth.models.UnicodeUsernameValidator()],
                verbose_name="username",
            ),
        ),
    ]
Exemple #24
0
class Migration(migrations.Migration):

    dependencies = [
        ('ighelper', '0002_auto_20180312_0157'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='media',
            managers=[
                ('images', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AlterField(
            model_name='like',
            name='follower',
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name='likes',
                to='ighelper.Follower'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('app_manager', '0010_auto_20181118_1333'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='appinstance',
            options={'base_manager_name': 'objects'},
        ),
        migrations.AlterModelManagers(
            name='appinstance',
            managers=[],
        ),
        migrations.AlterField(
            model_name='app',
            name='date_installed',
            field=models.DateTimeField(auto_now_add=True,
                                       null=True,
                                       verbose_name='Date Installed'),
        ),
        migrations.AlterField(
            model_name='app',
            name='store',
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.PROTECT,
                to='app_manager.AppStore'),
        ),
        migrations.AlterField(
            model_name='appstore',
            name='url',
            field=models.URLField(verbose_name='App Store URL'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('sso', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='user',
            managers=[
                ('objects', sso.models.CustomUserManager()),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='custom_token',
            field=models.CharField(default='', max_length=15),
            preserve_default=False,
        ),
        migrations.AlterUniqueTogether(
            name='user',
            unique_together=set([('username', )]),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('app', '0003_auto_20201113_1804'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='tags',
            managers=[
                ('object', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AlterField(
            model_name='answers',
            name='text',
            field=models.TextField(verbose_name='Ответ'),
        ),
        migrations.AlterField(
            model_name='questions',
            name='tags',
            field=models.ManyToManyField(blank=True, to='app.Tags'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('events', '0036_add_n_events_to_place'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='place',
            managers=[
                ('geo_objects', django.db.models.manager.Manager()),
            ],
        ),
        migrations.AddField(
            model_name='keyword',
            name='n_events_changed',
            field=models.BooleanField(db_index=True, default=False),
        ),
        migrations.AddField(
            model_name='place',
            name='n_events_changed',
            field=models.BooleanField(db_index=True, default=False),
        ),
    ]
Exemple #29
0
class Migration(migrations.Migration):

    dependencies = [
        ('waitlist', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelManagers(
            name='patient',
            managers=[
                ('Manager', django.db.models.manager.Manager()),
            ],
        ),
        migrations.RemoveField(
            model_name='patient',
            name='position',
        ),
        migrations.AddField(
            model_name='patient',
            name='phoneNumber',
            field=models.TextField(default=1, max_length=12),
            preserve_default=False,
        ),
    ]
Exemple #30
0
class Migration(migrations.Migration):

    dependencies = [
        ("app", "0006_auto_20200720_2250"),
    ]

    operations = [
        migrations.AlterModelManagers(
            name="userfollowfeed",
            managers=[],
        ),
        migrations.AlterField(
            model_name="feed",
            name="modified_at",
            field=models.DateTimeField(auto_now=True,
                                       verbose_name="Modified at"),
        ),
        migrations.AlterField(
            model_name="item",
            name="modified_at",
            field=models.DateTimeField(auto_now=True,
                                       verbose_name="Modified at"),
        ),
        migrations.AlterField(
            model_name="userfollowfeed",
            name="modified_at",
            field=models.DateTimeField(auto_now=True,
                                       verbose_name="Modified at"),
        ),
        migrations.AlterField(
            model_name="userrelitem",
            name="modified_at",
            field=models.DateTimeField(auto_now=True,
                                       verbose_name="Modified at"),
        ),
    ]