A django field that makes it easy to intersperse 'stuff' into blocks of text.
A django field that makes it easy to intersperse ‘stuff’ into blocks of text.
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).
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.
Registering existing models for use in TextPlusStuffFields is as easy as integrating a model into the admin.
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.
Full documentation available at Read the Docs.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|django_textplusstuff-0.6-py2.py3-none-any.whl (131.6 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Mar 29, 2016|
|django-textplusstuff-0.6.tar.gz (124.8 kB) Copy SHA256 Checksum SHA256||–||Source||Mar 29, 2016|