diff --git a/archivebox/core/models.py b/archivebox/core/models.py index 327d2c5b..ce5f8518 100644 --- a/archivebox/core/models.py +++ b/archivebox/core/models.py @@ -118,6 +118,8 @@ class Tag(ABIDModel): def api_docs_url(self) -> str: return '/api/v1/docs#/Core%20Models/api_v1_core_get_tag' + + class SnapshotTag(models.Model): id = models.AutoField(primary_key=True) diff --git a/archivebox/core/views.py b/archivebox/core/views.py index 68d9bbb6..49fefa50 100644 --- a/archivebox/core/views.py +++ b/archivebox/core/views.py @@ -613,7 +613,7 @@ def live_config_value_view(request: HttpRequest, key: str, **kwargs) -> ItemCont "fields": { 'Key': key, 'Type': find_config_type(key), - 'Value': settings.FLAT_CONFIG[key] if key_is_safe(key) else '********', + 'Value': settings.FLAT_CONFIG.get(key, settings.CONFIGS.get(key, None)) if key_is_safe(key) else '********', }, "help_texts": { 'Key': mark_safe(f'''