Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Nov 20, 2024
1 parent 4eeadf2 commit d24742b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scheduler/admin/old_task_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ class TaskAdmin(admin.ModelAdmin):
},
),
)
def has_add_permission(self, request: HttpRequest)-> bool:

def has_add_permission(self, request: HttpRequest) -> bool:
return False

def get_list_display(self, request):
Expand Down

0 comments on commit d24742b

Please sign in to comment.