Make hh parser models editable in admin
All checks were successful
release / docker (push) Successful in 24s
All checks were successful
release / docker (push) Successful in 24s
This commit is contained in:
parent
9fd6c9ae97
commit
5e7b44f611
@ -7,12 +7,3 @@ class VacancyAdmin(admin.ModelAdmin):
|
|||||||
list_filter = ("source", "created_at")
|
list_filter = ("source", "created_at")
|
||||||
search_fields = ("title",)
|
search_fields = ("title",)
|
||||||
list_display = ("title", "source", "link", "created_at")
|
list_display = ("title", "source", "link", "created_at")
|
||||||
|
|
||||||
def has_add_permission(self, request):
|
|
||||||
return False
|
|
||||||
|
|
||||||
def has_change_permission(self, request, obj=None):
|
|
||||||
return False
|
|
||||||
|
|
||||||
def has_delete_permission(self, request, obj=None):
|
|
||||||
return False
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user