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