Skip to main content

A Django CMS plugin for pdf embedding.

Project description

This is a plugin for [django CMS](https://www.django-cms.org/) to let users embed a PDF file on webpages.

It uses django-filer for the file upload handling.

Installation

  • Add pdfembed to INSTALLED_APPS.

  • Run manage.py migrate to apply the needed migrations.

Customization

The default template will render the PDF in an iframe with default width 100% and heigth 500px. These can be changed in the plugin creation wizard.

The template is located in /templates/pdfembed/pdf_embed.html and can also on that location be overwritten in your own project.

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

djangocms-pdfembed-0.3.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file djangocms-pdfembed-0.3.tar.gz.

File metadata

  • Download URL: djangocms-pdfembed-0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for djangocms-pdfembed-0.3.tar.gz
Algorithm Hash digest
SHA256 8f5aa992d0ec30d77efd64693c9cf0cc5d5738b6e4587450ac5556d8e2da053b
MD5 ca5424992539bde42d4b9f0cd0410a81
BLAKE2b-256 e39e81930ff42f7476072cd7ec65b52a759a602c65c232960e963b4eb9b335ef

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