Skip to content

Commit 55fe0b9

Browse files
committed
[UPDATE] is_active to admin panel
1 parent 2c7ca7a commit 55fe0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

job/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def jobs_count(self, obj):
1717

1818
@admin.register(JobTitle)
1919
class JobTitleAdmin(BaseModelAdmin):
20-
list_display = ["title", "linkedin_id", "jobs_count"]
20+
list_display = ["title", "linkedin_id", "jobs_count", "is_active"]
2121
search_fields = ["title", "children__title", "other_names__icontains"]
2222

2323
@remove_exponent_decorator
@@ -37,7 +37,7 @@ def jobs_count(self, obj):
3737

3838
@admin.register(JobLocation)
3939
class JobLocationAdmin(BaseModelAdmin):
40-
list_display = ["title", "linkedin_geo_id", "flag_emoji", "jobs_count"]
40+
list_display = ["title", "linkedin_geo_id", "flag_emoji", "jobs_count", "is_active"]
4141
search_fields = [
4242
"title",
4343
"iso_code",

0 commit comments

Comments
 (0)