0015_auto_20190803_1846.py 2.27 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Generated by Django 2.2.1 on 2019-08-03 16:46

import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import tinymce.models


class Migration(migrations.Migration):

    dependencies = [
        ('partners', '0014_partner_is_local_partner'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='vacancy',
            name='expiration_date',
        ),
        migrations.RemoveField(
            model_name='vacancy',
            name='expiration_mail_sent',
        ),
        migrations.RemoveField(
            model_name='vacancy',
            name='remarks',
        ),
        migrations.AlterField(
            model_name='partnerevent',
            name='partner',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='events', to='partners.Partner', verbose_name='partner'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='company_logo',
            field=models.ImageField(blank=True, null=True, upload_to='public/partners/vacancy-logos/', verbose_name='company logo'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='company_name',
            field=models.CharField(blank=True, max_length=255, verbose_name='company name'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='description',
            field=tinymce.models.HTMLField(verbose_name='description'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='link',
            field=models.CharField(blank=True, max_length=255, validators=[django.core.validators.URLValidator()], verbose_name='link'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='partner',
            field=models.ForeignKey(blank=True, help_text='When you use a partner, the company name and logo below will not be used.', null=True, on_delete=django.db.models.deletion.PROTECT, to='partners.Partner', verbose_name='partner'),
        ),
        migrations.AlterField(
            model_name='vacancy',
            name='title',
            field=models.CharField(max_length=255, verbose_name='title'),
        ),
    ]