Merge branch 'debug-toolbar' into dev

This commit is contained in:
Nick Sweeting 2021-03-27 05:29:15 -04:00
commit 63919dc90a
2 changed files with 4 additions and 5 deletions

View file

@ -213,10 +213,9 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
delete_snapshots.short_description = "Delete"
def add_tag(self, request, queryset):
if tag and tag.id:
tag = request.POST['tag']
for obj in queryset:
obj.tags.add(tag)
tag = request.POST['tag']
for obj in queryset:
obj.tags.add(tag)
add_tag.short_description = "Add tag"

View file

@ -23,7 +23,7 @@ if [[ -d "$DATA_DIR/archive" ]]; then
fi
else
# create data directory
mkdir -p "$DATA_DIR"
mkdir -p "$DATA_DIR/logs"
chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
fi
chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"