示例#1
0
class Migration(migrations.Migration):

    dependencies = [
        ('candidate',
         '0024_candidate_sent_email_notification_provisional_registration_number'
         ),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='curriculum_vitae',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Candidate.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='photograph',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Candidate.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_image
                ]),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0006_auto_20170908_1132'),
    ]

    operations = [
        migrations.AlterField(
            model_name='additionalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Qualifications.media_path),
        ),
        migrations.AlterField(
            model_name='educationalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Qualifications.media_path),
        ),
        migrations.AlterField(
            model_name='eligibilitytests',
            name='eligibility_proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.EligibilityTests.media_path),
        ),
        migrations.AlterField(
            model_name='experience',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Experience.media_path),
        ),
        migrations.AlterField(
            model_name='professionalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Qualifications.media_path),
        ),
    ]
示例#3
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Candidate',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('level', models.CharField(blank=True, choices=[('IN', 'Intern'), ('NG', 'New grad'), ('CL', 'Career level'), ('SR', 'Senior'), ('PR', 'Principal')], max_length=3, null=True)),
                ('education', models.CharField(choices=[('1', 'دیپلم'), ('2', 'فوق دیپلم'), ('3', 'لیسانس'), ('4', 'کارشناسی ارشد'), ('5', 'دکترا')], default='NEW', max_length=3)),
                ('phone', models.CharField(max_length=50)),
                ('full_name', models.CharField(max_length=150)),
                ('sex', models.CharField(choices=[('1', 'آقا'), ('2', 'خانم')], default='', max_length=2)),
                ('email', models.CharField(max_length=150)),
                ('skills', models.CharField(choices=[('JA', 'Python'), ('PY', 'Java'), ('HA', 'Haskell'), ('C', 'C'), ('JS', 'Javascript (Node)'), ('PE', 'Perl'), ('PH', 'PHP'), ('CP', 'C++'), ('RA', 'Racket'), ('RU', 'Ruby'), ('SC', 'Scala')], default='', max_length=20)),
                ('skills_offers', models.CharField(max_length=100)),
                ('referrer', models.CharField(blank=True, max_length=100, null=True)),
                ('image', models.ImageField(upload_to='')),
                ('resume', models.FileField(blank=True, null=True, upload_to=candidate.models.determine_upload_location, validators=[django.core.validators.FileExtensionValidator(['pdf', 'txt', 'doc', 'docx'])])),
                ('resume_url', models.URLField(blank=True, null=True)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0005_auto_20170908_1125'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='curriculum_vitae',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Candidate.media_path),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='photograph',
            field=models.ImageField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.Candidate.media_path),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0019_auto_20171024_1123'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='photograph',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.Candidate.media_path),
        ),
    ]
示例#6
0
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0004_auto_20191229_1723'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='Resume',
            field=models.FileField(
                upload_to=candidate.models.user_directory_path),
        ),
    ]
示例#7
0
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0002_professional_upload'),
    ]

    operations = [
        migrations.AlterField(
            model_name='professional',
            name='upload',
            field=models.FileField(
                upload_to=candidate.models.user_directory_path,
                verbose_name='Файл'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0011_candidate_city'),
    ]

    operations = [
        migrations.AddField(
            model_name='statenursingcouncil',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                null=True,
                upload_to=candidate.models.StateNursingCouncil.media_path),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0003_auto_20180410_0913'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='curriculum_vitae',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Candidate.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.
                    validate_file_doc_or_pdf
                ]),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0025_auto_20171120_1433'),
    ]

    operations = [
        migrations.AlterField(
            model_name='additionalqualifications',
            name='proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.Qualifications.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
        migrations.AlterField(
            model_name='educationalqualifications',
            name='proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.Qualifications.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
        migrations.AlterField(
            model_name='eligibilitytests',
            name='eligibility_proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.EligibilityTests.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
        migrations.AlterField(
            model_name='experience',
            name='proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.Experience.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
        migrations.AlterField(
            model_name='professionalqualifications',
            name='proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.Qualifications.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
        migrations.AlterField(
            model_name='statenursingcouncil',
            name='proof',
            field=models.FileField(blank=True, default=None, null=True, upload_to=candidate.models.StateNursingCouncil.media_path, validators=[tnai.validators.ValidateFileExtension.validate_file]),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0030_candidate_is_active'),
    ]

    operations = [
        migrations.AlterField(
            model_name='additionalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Qualifications.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='curriculum_vitae',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Candidate.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='photograph',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Candidate.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_image
                ]),
        ),
        migrations.AlterField(
            model_name='educationalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Qualifications.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='eligibilitytests',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.EligibilityTests.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='experience',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Experience.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='professionalqualifications',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.Qualifications.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
        migrations.AlterField(
            model_name='statenursingcouncil',
            name='proof',
            field=models.FileField(
                blank=True,
                default=None,
                max_length=500,
                null=True,
                upload_to=candidate.models.StateNursingCouncil.media_path,
                validators=[
                    tnai.validators.ValidateFileExtension.validate_file
                ]),
        ),
    ]
示例#12
0
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0018_auto_20200623_1903'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='address',
            field=models.CharField(blank=True, default=None, max_length=1024, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='bachelor_degree',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='bachelor_degree_course',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='bachelor_degree_marks',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='current_ctc',
            field=models.FloatField(blank=True, default=0.0, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='expected_ctc',
            field=models.FloatField(blank=True, default=1000.0, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='first_name',
            field=models.CharField(max_length=512),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='gender',
            field=models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('O', 'Other')], default='M', max_length=1, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='last_name',
            field=models.CharField(blank=True, max_length=512),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='master_degree',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='master_degree_course',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='master_degree_marks',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='notice_period',
            field=models.IntegerField(blank=True, default=60, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='prefered_location',
            field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={}, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='previous_company',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='puc_marks',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='resume',
            field=models.FileField(blank=True, null=True, upload_to=candidate.models.user_directory_path),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='sslc_marks',
            field=models.CharField(blank=True, default=None, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='work_experience',
            field=models.FloatField(blank=True, default=None, max_length=100, null=True),
        ),
    ]
示例#13
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='AdditionalQualifications',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('class_degree', models.CharField(blank=True, max_length=200)),
                ('institute_name', models.CharField(blank=True,
                                                    max_length=200)),
                ('university_board_council',
                 models.CharField(blank=True, max_length=200)),
                ('marks_obtained',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('total_marks',
                 models.PositiveSmallIntegerField(blank=True, default=100)),
                ('percentage',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('grade',
                 models.CharField(blank=True, default='', max_length=20)),
                ('proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('course_topic',
                 models.CharField(blank=True, max_length=200, null=True)),
                ('date_from', models.DateField(blank=True, null=True)),
                ('date_to', models.DateField(blank=True, null=True)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Candidate',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(default='Name', max_length=200)),
                ('fathers_name',
                 models.CharField(default="Father's Name", max_length=200)),
                ('date_of_birth',
                 models.DateField(default=django.utils.timezone.now)),
                ('gender',
                 models.CharField(choices=[('Male', 'Male'),
                                           ('Female', 'Female')],
                                  default='Male',
                                  max_length=200)),
                ('marital_status',
                 models.CharField(choices=[('Married', 'Married'),
                                           ('Single', 'Single')],
                                  default='Single',
                                  max_length=200)),
                ('phone_number',
                 models.CharField(default='9810117638', max_length=200)),
                ('house_number',
                 models.CharField(default='Address Line 1', max_length=200)),
                ('area_locality',
                 models.CharField(default='Locality', max_length=200)),
                ('street_name',
                 models.CharField(default='Street Nae', max_length=200)),
                ('village_PS_PO',
                 models.CharField(default='PS/PO/Village', max_length=200)),
                ('country', models.CharField(default='India', max_length=200)),
                ('state', models.CharField(default='Delhi', max_length=200)),
                ('district', models.CharField(default='Delhi',
                                              max_length=200)),
                ('pin_code', models.CharField(default='110078',
                                              max_length=200)),
                ('degree_recognized_by_INC',
                 models.BooleanField(default=False)),
                ('state_nursing_council_name',
                 models.CharField(blank=True,
                                  choices=[('SNC1', 'SNC1'), ('SNC2', 'SNC2'),
                                           ('SNC3', 'SNC3')],
                                  default='SNC1',
                                  max_length=200)),
                ('state_nursing_council_registration_number',
                 models.CharField(blank=True, default='', max_length=200)),
                ('state_nursing_council_registration_date',
                 models.DateField(blank=True,
                                  default=django.utils.timezone.now)),
                ('state_nursing_council_proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('passport_number', models.CharField(blank=True,
                                                     max_length=50)),
                ('passport_valid_from',
                 models.PositiveSmallIntegerField(blank=True,
                                                  choices=[(1970, 1970),
                                                           (1971, 1971),
                                                           (1972, 1972),
                                                           (1973, 1973),
                                                           (1974, 1974),
                                                           (1975, 1975),
                                                           (1976, 1976),
                                                           (1977, 1977),
                                                           (1978, 1978),
                                                           (1979, 1979),
                                                           (1980, 1980),
                                                           (1981, 1981),
                                                           (1982, 1982),
                                                           (1983, 1983),
                                                           (1984, 1984),
                                                           (1985, 1985),
                                                           (1986, 1986),
                                                           (1987, 1987),
                                                           (1988, 1988),
                                                           (1989, 1989),
                                                           (1990, 1990),
                                                           (1991, 1991),
                                                           (1992, 1992),
                                                           (1993, 1993),
                                                           (1994, 1994),
                                                           (1995, 1995),
                                                           (1996, 1996),
                                                           (1997, 1997),
                                                           (1998, 1998),
                                                           (1999, 1999),
                                                           (2000, 2000),
                                                           (2001, 2001),
                                                           (2002, 2002),
                                                           (2003, 2003),
                                                           (2004, 2004),
                                                           (2005, 2005),
                                                           (2006, 2006),
                                                           (2007, 2007),
                                                           (2008, 2008),
                                                           (2009, 2009),
                                                           (2010, 2010),
                                                           (2011, 2011),
                                                           (2012, 2012),
                                                           (2013, 2013),
                                                           (2014, 2014),
                                                           (2015, 2015),
                                                           (2016, 2016),
                                                           (2017, 2017),
                                                           (2018, 2018),
                                                           (2019, 2019),
                                                           (2020, 2020),
                                                           (2021, 2021),
                                                           (2022, 2022),
                                                           (2023, 2023),
                                                           (2024, 2024),
                                                           (2025, 2025),
                                                           (2026, 2026),
                                                           (2027, 2027),
                                                           (2028, 2028),
                                                           (2029, 2029),
                                                           (2030, 2030),
                                                           (2031, 2031),
                                                           (2032, 2032),
                                                           (2033, 2033),
                                                           (2034, 2034),
                                                           (2035, 2035),
                                                           (2036, 2036)],
                                                  null=True)),
                ('passport_valid_to',
                 models.PositiveSmallIntegerField(blank=True,
                                                  choices=[(1970, 1970),
                                                           (1971, 1971),
                                                           (1972, 1972),
                                                           (1973, 1973),
                                                           (1974, 1974),
                                                           (1975, 1975),
                                                           (1976, 1976),
                                                           (1977, 1977),
                                                           (1978, 1978),
                                                           (1979, 1979),
                                                           (1980, 1980),
                                                           (1981, 1981),
                                                           (1982, 1982),
                                                           (1983, 1983),
                                                           (1984, 1984),
                                                           (1985, 1985),
                                                           (1986, 1986),
                                                           (1987, 1987),
                                                           (1988, 1988),
                                                           (1989, 1989),
                                                           (1990, 1990),
                                                           (1991, 1991),
                                                           (1992, 1992),
                                                           (1993, 1993),
                                                           (1994, 1994),
                                                           (1995, 1995),
                                                           (1996, 1996),
                                                           (1997, 1997),
                                                           (1998, 1998),
                                                           (1999, 1999),
                                                           (2000, 2000),
                                                           (2001, 2001),
                                                           (2002, 2002),
                                                           (2003, 2003),
                                                           (2004, 2004),
                                                           (2005, 2005),
                                                           (2006, 2006),
                                                           (2007, 2007),
                                                           (2008, 2008),
                                                           (2009, 2009),
                                                           (2010, 2010),
                                                           (2011, 2011),
                                                           (2012, 2012),
                                                           (2013, 2013),
                                                           (2014, 2014),
                                                           (2015, 2015),
                                                           (2016, 2016),
                                                           (2017, 2017),
                                                           (2018, 2018),
                                                           (2019, 2019),
                                                           (2020, 2020),
                                                           (2021, 2021),
                                                           (2022, 2022),
                                                           (2023, 2023),
                                                           (2024, 2024),
                                                           (2025, 2025),
                                                           (2026, 2026),
                                                           (2027, 2027),
                                                           (2028, 2028),
                                                           (2029, 2029),
                                                           (2030, 2030),
                                                           (2031, 2031),
                                                           (2032, 2032),
                                                           (2033, 2033),
                                                           (2034, 2034),
                                                           (2035, 2035),
                                                           (2036, 2036)],
                                                  null=True)),
                ('passport_place_of_issue',
                 models.CharField(blank=True, max_length=200)),
                ('tnai_number',
                 models.CharField(blank=True, default='', max_length=200)),
                ('preference_of_work',
                 models.CharField(blank=True,
                                  choices=[('India', 'India'),
                                           ('Foreign', 'Foreign'),
                                           ('Both', 'Both')],
                                  max_length=10)),
                ('candidate_username',
                 models.ForeignKey(blank=True,
                                   default=None,
                                   null=True,
                                   on_delete=django.db.models.deletion.CASCADE,
                                   related_name='candidate_username',
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='EducationalQualifications',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('class_degree', models.CharField(blank=True, max_length=200)),
                ('institute_name', models.CharField(blank=True,
                                                    max_length=200)),
                ('university_board_council',
                 models.CharField(blank=True, max_length=200)),
                ('marks_obtained',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('total_marks',
                 models.PositiveSmallIntegerField(blank=True, default=100)),
                ('percentage',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('grade',
                 models.CharField(blank=True, default='', max_length=20)),
                ('proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('year_from',
                 candidate.models.FormYearField(blank=True,
                                                choices=[(1970, 1970),
                                                         (1971, 1971),
                                                         (1972, 1972),
                                                         (1973, 1973),
                                                         (1974, 1974),
                                                         (1975, 1975),
                                                         (1976, 1976),
                                                         (1977, 1977),
                                                         (1978, 1978),
                                                         (1979, 1979),
                                                         (1980, 1980),
                                                         (1981, 1981),
                                                         (1982, 1982),
                                                         (1983, 1983),
                                                         (1984, 1984),
                                                         (1985, 1985),
                                                         (1986, 1986),
                                                         (1987, 1987),
                                                         (1988, 1988),
                                                         (1989, 1989),
                                                         (1990, 1990),
                                                         (1991, 1991),
                                                         (1992, 1992),
                                                         (1993, 1993),
                                                         (1994, 1994),
                                                         (1995, 1995),
                                                         (1996, 1996),
                                                         (1997, 1997),
                                                         (1998, 1998),
                                                         (1999, 1999),
                                                         (2000, 2000),
                                                         (2001, 2001),
                                                         (2002, 2002),
                                                         (2003, 2003),
                                                         (2004, 2004),
                                                         (2005, 2005),
                                                         (2006, 2006),
                                                         (2007, 2007),
                                                         (2008, 2008),
                                                         (2009, 2009),
                                                         (2010, 2010),
                                                         (2011, 2011),
                                                         (2012, 2012),
                                                         (2013, 2013),
                                                         (2014, 2014),
                                                         (2015, 2015),
                                                         (2016, 2016),
                                                         (2017, 2017),
                                                         (2018, 2018),
                                                         (2019, 2019),
                                                         (2020, 2020),
                                                         (2021, 2021),
                                                         (2022, 2022),
                                                         (2023, 2023),
                                                         (2024, 2024),
                                                         (2025, 2025),
                                                         (2026, 2026),
                                                         (2027, 2027),
                                                         (2028, 2028),
                                                         (2029, 2029),
                                                         (2030, 2030),
                                                         (2031, 2031),
                                                         (2032, 2032),
                                                         (2033, 2033),
                                                         (2034, 2034),
                                                         (2035, 2035),
                                                         (2036, 2036)],
                                                null=True)),
                ('year_to',
                 candidate.models.FormYearField(blank=True,
                                                choices=[(1970, 1970),
                                                         (1971, 1971),
                                                         (1972, 1972),
                                                         (1973, 1973),
                                                         (1974, 1974),
                                                         (1975, 1975),
                                                         (1976, 1976),
                                                         (1977, 1977),
                                                         (1978, 1978),
                                                         (1979, 1979),
                                                         (1980, 1980),
                                                         (1981, 1981),
                                                         (1982, 1982),
                                                         (1983, 1983),
                                                         (1984, 1984),
                                                         (1985, 1985),
                                                         (1986, 1986),
                                                         (1987, 1987),
                                                         (1988, 1988),
                                                         (1989, 1989),
                                                         (1990, 1990),
                                                         (1991, 1991),
                                                         (1992, 1992),
                                                         (1993, 1993),
                                                         (1994, 1994),
                                                         (1995, 1995),
                                                         (1996, 1996),
                                                         (1997, 1997),
                                                         (1998, 1998),
                                                         (1999, 1999),
                                                         (2000, 2000),
                                                         (2001, 2001),
                                                         (2002, 2002),
                                                         (2003, 2003),
                                                         (2004, 2004),
                                                         (2005, 2005),
                                                         (2006, 2006),
                                                         (2007, 2007),
                                                         (2008, 2008),
                                                         (2009, 2009),
                                                         (2010, 2010),
                                                         (2011, 2011),
                                                         (2012, 2012),
                                                         (2013, 2013),
                                                         (2014, 2014),
                                                         (2015, 2015),
                                                         (2016, 2016),
                                                         (2017, 2017),
                                                         (2018, 2018),
                                                         (2019, 2019),
                                                         (2020, 2020),
                                                         (2021, 2021),
                                                         (2022, 2022),
                                                         (2023, 2023),
                                                         (2024, 2024),
                                                         (2025, 2025),
                                                         (2026, 2026),
                                                         (2027, 2027),
                                                         (2028, 2028),
                                                         (2029, 2029),
                                                         (2030, 2030),
                                                         (2031, 2031),
                                                         (2032, 2032),
                                                         (2033, 2033),
                                                         (2034, 2034),
                                                         (2035, 2035),
                                                         (2036, 2036)],
                                                null=True)),
                ('candidate',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='candidate.Candidate')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='EligibilityTests',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('eligibility_tests',
                 models.CharField(blank=True,
                                  choices=[('Prometric (Specify country)',
                                            'Prometric (Specify country)'),
                                           ('HAAD', 'HAAD'), ('DHA', 'DHA'),
                                           ('IELTS', 'IELTS'),
                                           ('CGFNS', 'CGFNS'),
                                           ('TOEFL', 'TOEFL'), ('OET', 'OET'),
                                           ('Other', 'Other')],
                                  max_length=20)),
                ('country', models.CharField(blank=True, max_length=100)),
                ('score_grade_marks',
                 models.CharField(blank=True, max_length=20)),
                ('completed_on', models.DateField(blank=True, null=True)),
                ('valid_up_to', models.DateField(blank=True, null=True)),
                ('eligibility_proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('candidate',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='candidate.Candidate')),
            ],
        ),
        migrations.CreateModel(
            name='Experience',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('institution', models.CharField(blank=True, max_length=200)),
                ('country',
                 models.CharField(blank=True,
                                  choices=[('India', 'India'),
                                           ('Foreign', 'Foreign')],
                                  max_length=200)),
                ('specialty', models.CharField(blank=True, max_length=200)),
                ('date_from', models.DateField(blank=True, null=True)),
                ('date_to', models.DateField(blank=True, null=True)),
                ('proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('candidate',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='candidate.Candidate')),
            ],
        ),
        migrations.CreateModel(
            name='ProfessionalQualifications',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('class_degree', models.CharField(blank=True, max_length=200)),
                ('institute_name', models.CharField(blank=True,
                                                    max_length=200)),
                ('university_board_council',
                 models.CharField(blank=True, max_length=200)),
                ('marks_obtained',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('total_marks',
                 models.PositiveSmallIntegerField(blank=True, default=100)),
                ('percentage',
                 models.PositiveSmallIntegerField(blank=True, default=0)),
                ('grade',
                 models.CharField(blank=True, default='', max_length=20)),
                ('proof',
                 models.FileField(blank=True,
                                  default=None,
                                  null=True,
                                  upload_to='')),
                ('date_from', models.DateField(blank=True, null=True)),
                ('date_to', models.DateField(blank=True, null=True)),
                ('candidate',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='candidate.Candidate')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('activation_key', models.CharField(max_length=40)),
                ('key_expires', models.DateTimeField()),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     related_name='candidate_profile',
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='StateNursingCouncil',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('course', models.CharField(blank=True, max_length=10)),
                ('state', models.CharField(blank=True, max_length=200)),
                ('registration_number',
                 models.CharField(blank=True, max_length=200)),
                ('year',
                 candidate.models.FormYearField(blank=True,
                                                choices=[(1970, 1970),
                                                         (1971, 1971),
                                                         (1972, 1972),
                                                         (1973, 1973),
                                                         (1974, 1974),
                                                         (1975, 1975),
                                                         (1976, 1976),
                                                         (1977, 1977),
                                                         (1978, 1978),
                                                         (1979, 1979),
                                                         (1980, 1980),
                                                         (1981, 1981),
                                                         (1982, 1982),
                                                         (1983, 1983),
                                                         (1984, 1984),
                                                         (1985, 1985),
                                                         (1986, 1986),
                                                         (1987, 1987),
                                                         (1988, 1988),
                                                         (1989, 1989),
                                                         (1990, 1990),
                                                         (1991, 1991),
                                                         (1992, 1992),
                                                         (1993, 1993),
                                                         (1994, 1994),
                                                         (1995, 1995),
                                                         (1996, 1996),
                                                         (1997, 1997),
                                                         (1998, 1998),
                                                         (1999, 1999),
                                                         (2000, 2000),
                                                         (2001, 2001),
                                                         (2002, 2002),
                                                         (2003, 2003),
                                                         (2004, 2004),
                                                         (2005, 2005),
                                                         (2006, 2006),
                                                         (2007, 2007),
                                                         (2008, 2008),
                                                         (2009, 2009),
                                                         (2010, 2010),
                                                         (2011, 2011),
                                                         (2012, 2012),
                                                         (2013, 2013),
                                                         (2014, 2014),
                                                         (2015, 2015),
                                                         (2016, 2016),
                                                         (2017, 2017),
                                                         (2018, 2018),
                                                         (2019, 2019),
                                                         (2020, 2020),
                                                         (2021, 2021),
                                                         (2022, 2022),
                                                         (2023, 2023),
                                                         (2024, 2024),
                                                         (2025, 2025),
                                                         (2026, 2026),
                                                         (2027, 2027),
                                                         (2028, 2028),
                                                         (2029, 2029),
                                                         (2030, 2030),
                                                         (2031, 2031),
                                                         (2032, 2032),
                                                         (2033, 2033),
                                                         (2034, 2034),
                                                         (2035, 2035),
                                                         (2036, 2036)],
                                                null=True)),
                ('candidate',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='candidate.Candidate')),
            ],
        ),
        migrations.AddField(
            model_name='additionalqualifications',
            name='candidate',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to='candidate.Candidate'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('candidate', '0017_auto_20200618_0027'),
    ]

    operations = [
        migrations.AlterField(
            model_name='candidate',
            name='address',
            field=models.CharField(blank=True, default=None, max_length=1024),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='bachelor_degree',
            field=models.CharField(blank=True, default=None, max_length=100),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='gender',
            field=models.CharField(blank=True,
                                   choices=[('M', 'Male'), ('F', 'Female'),
                                            ('O', 'Other')],
                                   default='M',
                                   max_length=1),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='prefered_location',
            field=django.contrib.postgres.fields.jsonb.JSONField(
                blank=True, default={}, max_length=100),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='previous_company',
            field=models.CharField(blank=True, default=None, max_length=100),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='puc_marks',
            field=models.CharField(blank=True, default=None, max_length=100),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='resume',
            field=models.FileField(
                blank=True, upload_to=candidate.models.user_directory_path),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='sslc_marks',
            field=models.CharField(blank=True, default=None, max_length=100),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='status',
            field=models.CharField(blank=True,
                                   choices=[('active', 'ACTIVE'),
                                            ('inactive', 'INACTIVE')],
                                   default='active',
                                   max_length=256),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='work_experience',
            field=models.FloatField(blank=True, default=None, max_length=100),
        ),
    ]