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

add some new model fields and views #4

Merged
merged 6 commits into from
Mar 16, 2023
Merged
Changes from 1 commit
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
Next Next commit
register new models
  • Loading branch information
Mubashir12392 committed Mar 16, 2023
commit 370f078cbea2d1104107ee41f8492aa460611e29
10 changes: 8 additions & 2 deletions recruiters/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
from django.contrib import admin
from .models import Recruiter, JobPost
from .models import Recruiter, JobPost,JobCategory, Country, Company
# Register your models here.

admin.site.register(Recruiter)
admin.site.register(JobPost)
admin.site.register(JobCategory)
admin.site.register(Country)
admin.site.register(Company)

@admin.register(JobPost)
class JobPostAdmin(admin.ModelAdmin):
list_display= ['job_title', 'category']