Skip to content

Commit

Permalink
Set apply_form default value as None
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Jan 5, 2024
1 parent c8e643d commit abb1705
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions offer/migrations/0003_alter_joboffer_apply_form.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.0 on 2024-01-05 18:21

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('offer', '0002_alter_salary_currency_alter_salary_salary_from_and_more'),
]

operations = [
migrations.AlterField(
model_name='joboffer',
name='apply_form',
field=models.URLField(blank=True, default=None, null=True),
),
]
2 changes: 1 addition & 1 deletion offer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class JobOffer(models.Model):
is_remote = models.BooleanField(default=False)
is_hybrid = models.BooleanField(default=False)
days_until_expiration = models.IntegerField(default=30)
apply_form = models.URLField(null=True, blank=True)
apply_form = models.URLField(null=True, blank=True, default=None)
skills = models.CharField(max_length=100, null=True, blank=True)
salary = models.ManyToManyField(Salary, blank=True)
experience = models.ManyToManyField(Experience, blank=True)
Expand Down

0 comments on commit abb1705

Please sign in to comment.