Skip to content

Commit

Permalink
feat(#639): update wording for job tech -> type (#2557)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee authored Sep 16, 2024
1 parent af33d31 commit 552229a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by Django 4.2.16 on 2024-09-13 17:30

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('jobs', '0021_alter_job_creator_alter_job_last_modified_by_and_more'),
]

operations = [
migrations.AlterModelOptions(
name='jobtype',
options={'ordering': ('name',), 'verbose_name': 'job types', 'verbose_name_plural': 'job types'},
),
migrations.AlterField(
model_name='job',
name='job_types',
field=models.ManyToManyField(blank=True, limit_choices_to={'active': True}, related_name='jobs', to='jobs.jobtype', verbose_name='Job types'),
),
migrations.AlterField(
model_name='job',
name='other_job_type',
field=models.CharField(blank=True, max_length=100, verbose_name='Other job types'),
),
]
8 changes: 4 additions & 4 deletions jobs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class JobType(NameSlugModel):
objects = JobTypeQuerySet.as_manager()

class Meta:
verbose_name = 'job technologies'
verbose_name_plural = 'job technologies'
verbose_name = 'job types'
verbose_name_plural = 'job types'
ordering = ('name', )


Expand Down Expand Up @@ -59,11 +59,11 @@ class Job(ContentManageable):
JobType,
related_name='jobs',
blank=True,
verbose_name='Job technologies',
verbose_name='Job types',
limit_choices_to={'active': True},
)
other_job_type = models.CharField(
verbose_name='Other job technologies',
verbose_name='Other job types',
max_length=100,
blank=True,
)
Expand Down

0 comments on commit 552229a

Please sign in to comment.