mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 23:24:30 -04:00
comment out Crawl api methods temporarily
This commit is contained in:
parent
536a5ea745
commit
f75ae805f8
11 changed files with 1038 additions and 9 deletions
|
@ -1,3 +1,28 @@
|
|||
from django.contrib import admin
|
||||
# __package__ = 'archivebox.crawls'
|
||||
|
||||
# Register your models here.
|
||||
# import abx
|
||||
|
||||
# from abid_utils.admin import ABIDModelAdmin
|
||||
|
||||
# from .models import Crawl
|
||||
|
||||
|
||||
|
||||
# class CrawlAdmin(ABIDModelAdmin):
|
||||
# list_display = ('abid', 'created_at', 'created_by', 'depth', 'parser', 'urls')
|
||||
# sort_fields = ('abid', 'created_at', 'created_by', 'depth', 'parser', 'urls')
|
||||
# search_fields = ('abid', 'created_by__username', 'depth', 'parser', 'urls')
|
||||
|
||||
# readonly_fields = ('created_at', 'modified_at', 'abid_info')
|
||||
# fields = ('urls', 'depth', 'parser', 'created_by', *readonly_fields)
|
||||
|
||||
# list_filter = ('depth', 'parser', 'created_by')
|
||||
# ordering = ['-created_at']
|
||||
# list_per_page = 100
|
||||
# actions = ["delete_selected"]
|
||||
|
||||
|
||||
|
||||
# @abx.hookimpl
|
||||
# def register_admin(admin_site):
|
||||
# admin_site.register(Crawl, CrawlAdmin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue