archivebox.core package¶
Subpackages¶
Submodules¶
archivebox.core.admin module¶
-
class
archivebox.core.admin.SnapshotAdmin(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin-
list_display= ('added', 'title_str', 'url_str', 'files', 'size')¶
-
sort_fields= ('title_str', 'url_str', 'added')¶
-
readonly_fields= ('id', 'url', 'timestamp', 'title', 'tags', 'num_outputs', 'is_archived', 'url_hash', 'added', 'updated')¶
-
search_fields= ('url', 'timestamp', 'title', 'tags')¶
-
fields= ('id', 'url', 'timestamp', 'title', 'tags', 'num_outputs', 'is_archived', 'url_hash', 'added', 'updated')¶
-
list_filter= ('added', 'updated', 'tags')¶
-
ordering= ['-added']¶
-
actions= [<function delete_snapshots>, <function overwrite_snapshots>, <function update_snapshots>, <function update_titles>, <function verify_snapshots>]¶
-
actions_template= 'admin/actions_as_select.html'¶
-
media¶
-
-
class
archivebox.core.admin.ArchiveBoxAdmin(name='admin')[source]¶ Bases:
django.contrib.admin.sites.AdminSite-
site_header= 'ArchiveBox'¶
-
index_title= 'Links'¶
-
site_title= 'Index'¶
-
-
archivebox.core.admin.path(route, view, kwargs=None, name=None, *, Pattern=<class 'django.urls.resolvers.RoutePattern'>)¶
archivebox.core.apps module¶
archivebox.core.models module¶
archivebox.core.settings module¶
archivebox.core.tests module¶
archivebox.core.urls module¶
-
archivebox.core.urls.path(route, view, kwargs=None, name=None, *, Pattern=<class 'django.urls.resolvers.RoutePattern'>)¶
archivebox.core.views module¶
-
class
archivebox.core.views.MainIndex(**kwargs)[source]¶ Bases:
django.views.generic.base.View-
template= 'main_index.html'¶
-
archivebox.core.welcome_message module¶
archivebox.core.wsgi module¶
WSGI config for archivebox project.
It exposes the WSGI callable as a module-level variable named application.
For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/