mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 06:48:13 +08:00
edit link on the func column in the schedule admin
This commit is contained in:
@@ -74,6 +74,7 @@ class ScheduleAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
list_filter = ('next_run', 'schedule_type')
|
list_filter = ('next_run', 'schedule_type')
|
||||||
search_fields = ('func',)
|
search_fields = ('func',)
|
||||||
|
list_display_links = ('id', 'func')
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(Schedule, ScheduleAdmin)
|
admin.site.register(Schedule, ScheduleAdmin)
|
||||||
|
|||||||
Reference in New Issue
Block a user