mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 12:28:12 +08:00
- Added logging with coloredlogs (for now)
- Added task model and admin - Moved pusher into it's own process
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from .models import Task
|
||||
|
||||
|
||||
class TaskAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
u'name',
|
||||
'func',
|
||||
'started',
|
||||
'time_taken',
|
||||
'success'
|
||||
)
|
||||
admin.site.register(Task, TaskAdmin)
|
||||
|
||||
Reference in New Issue
Block a user