Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#639): update wording for job tech -> type #2557

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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