Skip to main content

HTML snippet plugin for django CMS

Project description

djangocms-snippet
=================

A HTML snippet plugin for django CMS.


Installation
------------

This plugin requires `django CMS` 3.0 or higher to be properly installed.

* In your projects `virtualenv`_, run ``pip install djangocms-snippet``.
* Add ``'djangocms_snippet'`` to your ``INSTALLED_APPS`` setting.
* If using Django 1.7 add ``'djangocms_snippet': 'djangocms_snippet.migrations_django',``to ``MIGRATION_MODULES`` (or define ``MIGRATION_MODULES`` if it does not exists); when django CMS 3.1 will be released, migrations for Django 1.7 will be moved to the standard location and the south-style ones to ``south_migrations``.
* Run ``manage.py migrate djangocms_snippet``.

Warning
-------

This plugin should mainly be used during development to quickly test HTML snippets.


This plugin is a potential security hazard, since it allows admins to place
custom JavaScript on pages. This may allow administrators with the right to
add snippets to elevate their privileges to superusers. This plugin should
only be used during the initial development phase for rapid prototyping and


Translations
------------

If you want to help translate the plugin please do it on transifex:

https://www.transifex.com/projects/p/django-cms/resource/djangocms-snippet/

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-snippet-1.4.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

djangocms_snippet-1.4-py2-none-any.whl (134.5 kB view details)

Uploaded Python 2

File details

Details for the file djangocms-snippet-1.4.tar.gz.

File metadata

File hashes

Hashes for djangocms-snippet-1.4.tar.gz
Algorithm Hash digest
SHA256 b6e77061fa32acb15163356d71ef5a2015627a3e36c37a88ccf8f3176b911bd7
MD5 a0c0feb90ab4c2f3ef2b3375f7cbc07c
BLAKE2b-256 3949b7dbc931b6787ac83c0edbffcc4252b8423ee699d88efa65a81d1761b353

See more details on using hashes here.

Provenance

File details

Details for the file djangocms_snippet-1.4-py2-none-any.whl.

File metadata

File hashes

Hashes for djangocms_snippet-1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 0e4a83a759239b5f2efc74abbc008e195713991c7ddb6a7ac470222126ae4919
MD5 5b818c840473ea484ed6ed849040ec14
BLAKE2b-256 d42c3c74ba0234ba2f1d310c60e76f466e8a4e2f2e168f3cd84b697708beb02c

See more details on using hashes here.

Provenance

Supported by

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