From 94cec041647e7fabe5c0c69fc2d98f9975b47f67 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Tue, 10 Dec 2024 09:46:05 +0100 Subject: [PATCH] Update readme --- README.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.rst b/README.rst index 21d1a29..5d715ab 100644 --- a/README.rst +++ b/README.rst @@ -295,6 +295,25 @@ rendering the above settings useless. To completely disable the feature, set ``TEXT_HTML_SANITIZE = False``. +Usage outside django CMS +------------------------ + +django CMS Text can be used without django CMS installed. Without django CMS it +offers the ``HTMLField`` and ``HTMLFormField`` classes which can be used by any +Django model or form. + +If django CMS is not installed with django CMS Text, add the following to your +``MIGRATION_MODULES`` setting:: + + MIGRATION_MODULES = [ + ..., + "djangocms_text": None, + ... + ] + +This will prevent the migration of the models for django CMS plugins. + + Development ===========