class Migration(migrations.Migration):
    dependencies = [
        ('Gsite', '0003_auto_20190215_1410'),
    ]

    operations = [
        migrations.CreateModel(
            name='InfoAboutRock',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('rock',
                 models.CharField(help_text='Enter a rock ', max_length=200)),
                ('hardness', models.IntegerRangeField()),
                ('formula', models.TextField()),
                ('Streak',
                 models.CharField(choices=[('Б', 'Белый'), ('Ч', 'Черный')],
                                  max_length=30,
                                  verbose_name='полоса, жилка')),
            ],
            options={
                'ordering': ('rock', ),
            },
        ),
        migrations.AddField(
            model_name='post',
            name='Infobox',
            field=models.ManyToManyField(
                help_text='заполнение формы для пород и минералов',
                to='Gsite.InfoAboutRock'),
        ),
    ]
class Migration(migrations.Migration):
    dependencies = [
        ('Gsite', '0004_auto_20190215_1439'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='infoaboutrock',
            name='formula',
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='hardness',
            field=models.IntegerRangeField(verbose_name='Твердость'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='rock',
            field=models.CharField(help_text='Enter a rock ', max_length=200, verbose_name='Порода или минерал'),
        ),
    ]
Esempio n. 3
0
class Migration(migrations.Migration):
    dependencies = [
        ('Gsite', '0013_auto_20190215_2112'),
    ]

    operations = [
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Streak',
            field=models.CharField(choices=[('Белый', 'Белый'),
                                            ('Черный', 'Черный')],
                                   max_length=30,
                                   null=True,
                                   verbose_name='полоса, жилка'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='hardness',
            field=models.IntegerRangeField(null=True,
                                           verbose_name='Твердость'),
        ),
    ]
Esempio n. 4
0
class Migration(migrations.Migration):
    dependencies = [
        ('Gsite', '0007_infoaboutrock_formula'),
    ]

    operations = [
        migrations.AddField(
            model_name='infoaboutrock',
            name='Cleavage',
            field=models.CharField(max_length=50, null=True, verbose_name='Спайность'),
        ),
        migrations.AddField(
            model_name='infoaboutrock',
            name='CristalSystem',
            field=models.CharField(max_length=50, null=True, verbose_name='Кристаллография'),
        ),
        migrations.AddField(
            model_name='infoaboutrock',
            name='Fracture',
            field=models.CharField(max_length=50, null=True, verbose_name='Трещиноватость'),
        ),
        migrations.AddField(
            model_name='infoaboutrock',
            name='Lustre',
            field=models.CharField(max_length=50, null=True, verbose_name='Блеск'),
        ),
        migrations.AddField(
            model_name='infoaboutrock',
            name='SpecificGravity',
            field=models.IntegerRangeField(null=True, verbose_name='Удельный вес'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='color',
            field=models.CharField(max_length=50, null=True, verbose_name='Цвет'),
        ),
    ]
Esempio n. 5
0
class Migration(migrations.Migration):
    dependencies = [
        ('Gsite', '0016_auto_20190215_2232'),
    ]

    operations = [
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Cleavage',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Спайность'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='CristalSystem',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Кристаллография'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Fracture',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Трещиноватость'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Lustre',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Блеск'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Opacity',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Прозрачность'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='SpecificGravity',
            field=models.IntegerRangeField(blank=True,
                                           null=True,
                                           verbose_name='Удельный вес'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='Streak',
            field=models.CharField(blank=True,
                                   choices=[('Белый', 'Белый'),
                                            ('Черный', 'Черный')],
                                   max_length=30,
                                   null=True,
                                   verbose_name='полоса, жилка'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='category',
            field=models.CharField(blank=True,
                                   max_length=40,
                                   null=True,
                                   verbose_name='Категория'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='color',
            field=models.CharField(blank=True,
                                   max_length=50,
                                   null=True,
                                   verbose_name='Цвет'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='formula',
            field=models.TextField(blank=True,
                                   null=True,
                                   verbose_name='Формула'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='hardness',
            field=models.IntegerRangeField(blank=True,
                                           null=True,
                                           verbose_name='Твердость'),
        ),
        migrations.AlterField(
            model_name='infoaboutrock',
            name='rock',
            field=models.CharField(blank=True,
                                   help_text='Enter a rock ',
                                   max_length=200,
                                   verbose_name='Порода или минерал'),
        ),
    ]