A django field that makes it easy to intersperse 'stuff' into blocks of text.
Project description
About
Summary
A django field that makes it easy to intersperse ‘stuff’ into blocks of text.
A Flexible Interface
django-textplusstuff provides a simple interface for returning the contents of your field however you like: as either markdown-flavored text, valid HTML markup (with or without ‘stuff’ interspersed) or even plain text (with all markdown formatting removed).
Keep Track of Your Content
django-textplusstuff also keeps track of which model instances are associated within each TextPlusStuffField (via the TextPlusStuffLink model) so you can see where all your textplusstuff-integrated content is used across your django project.
Easy Integration
Registering existing models for use in TextPlusStuffFields is as easy as integrating a model into the admin.
Designer/Front-End Developer Friendly
Each model registered with django-textplusstuff can have as many ‘renditions’ as you like which keeps business logic DRY while enabling designers and front-end developers to have control over how content is displayed.
Documentation
Full documentation available at Read the Docs.
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
Hashes for django_textplusstuff-0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766d5ca84c2af4b78366b4cf1ee445cb2dc64c1b369b983c504c1e4fd035b633 |
|
MD5 | 509fe44ac6355ce62770f71dedfd033b |
|
BLAKE2b-256 | c3142ab86da68e785ffaa9c458e8e64fbe431592d57031ab780f9137e7b9cdb0 |