HTML snippet plugin for django CMS
Project description
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.6 and South < 1.0.2 add 'djangocms_snippet': 'djangocms_snippet.migrations_django', to SOUTH_MIGRATION_MODULES (or define SOUTH_MIGRATION_MODULES if it does not exist).
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 authorized- users to place custom markup or Javascript on pages bypassing all of Django's normal sanitization mechanisms. This could be exploited by users 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 testing.
By default, the contents of a snippet are not searchable when using django-cms’s builtin search feature.
To allow the contents of all snippets to be searchable, please set DJANGOCMS_SNIPPET_SEARCH to True in your settings.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file djangocms-snippet-1.7.1.tar.gz
.
File metadata
- Download URL: djangocms-snippet-1.7.1.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e83597f40f325bdecbe6ec79488fe42b5f15ca19de4de5f00ad229ae15de23 |
|
MD5 | e30ce0cd2aa6c1631ee62015d5836f7e |
|
BLAKE2b-256 | 18f8ca83340af075abd07f6691f3ba37c1e9fa514c23e0548667ad28876b1af4 |
File details
Details for the file djangocms_snippet-1.7.1-py2-none-any.whl
.
File metadata
- Download URL: djangocms_snippet-1.7.1-py2-none-any.whl
- Upload date:
- Size: 141.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b349b4bb95465256163685a2ed3b96e5f1e68510defdc69edaf5cb0350c4c17b |
|
MD5 | 2b7c33629111aefc0192acd3ab4c0f81 |
|
BLAKE2b-256 | 2f738ed36d02eb7ab9e970880d4709d83ecbf45025405076524d5ef409deba23 |