summaryrefslogtreecommitdiff
path: root/commcrawler/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'commcrawler/admin.py')
-rw-r--r--commcrawler/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/commcrawler/admin.py b/commcrawler/admin.py
index 71a44a5..fcd1a1b 100644
--- a/commcrawler/admin.py
+++ b/commcrawler/admin.py
@@ -16,9 +16,9 @@ from commcrawler import models
class CrawlAdmin(admin.ModelAdmin):
model = models.Crawl
list_display = ("name", "status", "target_nb", "created", "started",
- "ended")
+ "ended", "progress")
list_filter = ("status",)
- readonly_fields = ("status", "created", "started", "ended")
+ readonly_fields = ("created", "started", "ended")
form = make_ajax_form(model, {'targets': 'target'})