Skip to content

Commit d58a439

Browse files
committed
feat(#639): update wording for job tech -> type
1 parent 3bf4a22 commit d58a439

File tree

2 files changed

+31
-4
lines changed

2 files changed

+31
-4
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Generated by Django 4.2.16 on 2024-09-13 17:30
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('jobs', '0021_alter_job_creator_alter_job_last_modified_by_and_more'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='jobtype',
15+
options={'ordering': ('name',), 'verbose_name': 'job types', 'verbose_name_plural': 'job types'},
16+
),
17+
migrations.AlterField(
18+
model_name='job',
19+
name='job_types',
20+
field=models.ManyToManyField(blank=True, limit_choices_to={'active': True}, related_name='jobs', to='jobs.jobtype', verbose_name='Job types'),
21+
),
22+
migrations.AlterField(
23+
model_name='job',
24+
name='other_job_type',
25+
field=models.CharField(blank=True, max_length=100, verbose_name='Other job types'),
26+
),
27+
]

jobs/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class JobType(NameSlugModel):
3030
objects = JobTypeQuerySet.as_manager()
3131

3232
class Meta:
33-
verbose_name = 'job technologies'
34-
verbose_name_plural = 'job technologies'
33+
verbose_name = 'job types'
34+
verbose_name_plural = 'job types'
3535
ordering = ('name', )
3636

3737

@@ -59,11 +59,11 @@ class Job(ContentManageable):
5959
JobType,
6060
related_name='jobs',
6161
blank=True,
62-
verbose_name='Job technologies',
62+
verbose_name='Job types',
6363
limit_choices_to={'active': True},
6464
)
6565
other_job_type = models.CharField(
66-
verbose_name='Other job technologies',
66+
verbose_name='Other job types',
6767
max_length=100,
6868
blank=True,
6969
)

0 commit comments

Comments
 (0)