Metadata-Version: 2.1
Name: wagtail_admin_files
Version: 1.0.4
Summary: An application made for the Django Web Framework.
Home-page: https://github.com/Nigel2392/wagtail_admin_files
Author: Nigel
Author-email: nigel@goodadvice.it
License: GPL-3.0-only
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 5
Classifier: Framework :: Wagtail :: 6
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=4.2
Requires-Dist: Wagtail>=5.0

wagtail_admin_files
===================

Easily share files through the wagtail admin, only for admins.

Useful for easily grouping files submitted through a contact form, or files bound to another model.

`SharedFile` object creation can either:

1. Create a copy of the actual file contents in the backend.
2. Store the path to a file which already exists in a backend.

Quick start
-----------

1. Install the package via pip:

   ```bash
   pip install wagtail_admin_files
   ```
2. Add 'wagtail_admin_files' to your INSTALLED_APPS setting like this:

   ```
   INSTALLED_APPS = [
   ...,
      'wagtail_admin_files',
   ]
   ```
3. Add the following header to your `settings.py`

   ```python
   X_FRAME_OPTIONS = "SAMEORIGIN"
   ```


A settings menu item will be automatically registered.

The `WAGTAIL_ADMIN_FILES_MENU_HOOK` setting can be set to register the menu item to a different menu.

By default, the hook it registers to is `register_settings_menu_item`
