mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 10:25:11 -04:00
Merge branch 'debug-toolbar' into dev
This commit is contained in:
commit
63919dc90a
2 changed files with 4 additions and 5 deletions
|
@ -213,7 +213,6 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
|
||||||
delete_snapshots.short_description = "Delete"
|
delete_snapshots.short_description = "Delete"
|
||||||
|
|
||||||
def add_tag(self, request, queryset):
|
def add_tag(self, request, queryset):
|
||||||
if tag and tag.id:
|
|
||||||
tag = request.POST['tag']
|
tag = request.POST['tag']
|
||||||
for obj in queryset:
|
for obj in queryset:
|
||||||
obj.tags.add(tag)
|
obj.tags.add(tag)
|
||||||
|
|
|
@ -23,7 +23,7 @@ if [[ -d "$DATA_DIR/archive" ]]; then
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# create data directory
|
# create data directory
|
||||||
mkdir -p "$DATA_DIR"
|
mkdir -p "$DATA_DIR/logs"
|
||||||
chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
|
chown -R $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
|
||||||
fi
|
fi
|
||||||
chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
|
chown $ARCHIVEBOX_USER:$ARCHIVEBOX_USER "$DATA_DIR"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue