diff --git a/static/admin/config.yml b/static/admin/config.yml index a4b5007..f0c8963 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -261,6 +261,8 @@ collections: create: true #editor: #preview: false + media_folder: '/static/media/schulchronik' + public_folder: '/media/schulchronik' fields: - {label: "Titel", name: "title", widget: "string"} - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false} @@ -275,6 +277,8 @@ collections: create: true editor: preview: false + media_folder: '/static/media/abiturienten' + public_folder: '/media/abiturienten' fields: - {label: "Titel", name: "title", widget: "string"} - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false} diff --git a/static/admin/index.html b/static/admin/index.html index 2e6ea11..7c93998 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -10,8 +10,28 @@