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.8.2.tar.gz
.
File metadata
- Download URL: djangocms-snippet-1.8.2.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a76a64f5380b82a17fe68ec93018f8126c69a87fb0dee662cd8732c963cb8f8e |
|
MD5 | 06deb1c13c42a4b81fc47c7720474b3b |
|
BLAKE2b-256 | 77769e7c6dda1e88897054e2255762ef0e28fa5c170b70172d173a9fbcf1eb2d |
File details
Details for the file djangocms_snippet-1.8.2-py2-none-any.whl
.
File metadata
- Download URL: djangocms_snippet-1.8.2-py2-none-any.whl
- Upload date:
- Size: 143.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fbcac838e621a4c0b0b9ea8619d1c96a9a390b3f3bcc570384ba23c5a8cf1f7 |
|
MD5 | 42c598680785929eb2a257f6557e4bbb |
|
BLAKE2b-256 | a8dc3f20176fb55b91498a74bfb5e307490cbb72748d9b016282328d9ea28ba1 |