Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Dec 10, 2024
1 parent 9dd5c01 commit 94cec04
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
===========

Expand Down

0 comments on commit 94cec04

Please sign in to comment.