diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-09 00:15:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-09 00:15:26 +0200 |
commit | bcacb3dcae815230c106cd773130f7b0ea5f720d (patch) | |
tree | 3dcb99ff067740d04689f7baa40a58b9289b98d9 /commcrawler/admin.py | |
parent | 2d946cafdf247245bb58c41dbf4e8de699f950ba (diff) | |
download | Comm-on-net-bcacb3dcae815230c106cd773130f7b0ea5f720d.tar.bz2 Comm-on-net-bcacb3dcae815230c106cd773130f7b0ea5f720d.zip |
Display progress
Diffstat (limited to 'commcrawler/admin.py')
-rw-r--r-- | commcrawler/admin.py | 4 |
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'}) |