Skip to main content

An application made for the Django Web Framework.

Project description

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:

    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

    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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_admin_files-1.0.1.tar.gz (313.3 kB view details)

Uploaded Source

File details

Details for the file wagtail_admin_files-1.0.1.tar.gz.

File metadata

  • Download URL: wagtail_admin_files-1.0.1.tar.gz
  • Upload date:
  • Size: 313.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for wagtail_admin_files-1.0.1.tar.gz
Algorithm Hash digest
SHA256 16665d5459f8a8eebae7c1912a5a62cc49c3abae8cef65e92e1899f4b2cd958a
MD5 a86897a20943b1fbe2ea4de823bbb36e
BLAKE2b-256 1a0daa2ba36d8e64b1f8f61d059d983e58f2362282e38101f9875fbf76d6aa81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page