MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / get

Method get

archivebox/core/views.py:36–43  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

34
35class HomepageView(View):
36 def get(self, request):
37 if request.user.is_authenticated:
38 return redirect('/admin/core/snapshot/')
39
40 if PUBLIC_INDEX:
41 return redirect('/public')
42
43 return redirect(f'/admin/login/?next={request.path}')
44
45
46class SnapshotView(View):

Callers 15

config.pyFile · 0.45
get_real_nameFunction · 0.45
load_config_valFunction · 0.45
write_config_fileFunction · 0.45
load_configFunction · 0.45
stdoutFunction · 0.45
stderrFunction · 0.45
hintFunction · 0.45
setup_djangoFunction · 0.45
printable_folder_statusFunction · 0.45
download_urlFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected