Skip to main content

A django field that makes it easy to intersperse 'stuff' into blocks of text.

Project description

Travis CI Status Coverage Status Latest Version

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.

Compatibility

Version 0.7 is compatible with:
Python 2.7, 3.4, 3.5, 3.6
Django 1.7, 1.8, 1.9
Django REST Framework 2.5, 3.0, 3.1, 3.2, 3.3 (maybe 3.5+, but untested)

Version 0.8 is compatible with:
Python 2.7, 3.4, 3.5, 3.6
Django 1.10, 1.11
Django REST Framework 3.6, 3.7

Version 0.9 is compatible with:
Python 3.4, 3.5, 3.6
Django 2.0
Django REST Framework 3.7

Documentation

Full documentation available at Read the Docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-textplusstuff-0.9.1.tar.gz (123.0 kB view details)

Uploaded Source

File details

Details for the file django-textplusstuff-0.9.1.tar.gz.

File metadata

File hashes

Hashes for django-textplusstuff-0.9.1.tar.gz
Algorithm Hash digest
SHA256 21875bd134eb6972dcb159e8c355c6d98bc829dece101ee054ec0b004df86385
MD5 133c6fad7e0761ac9ddc17c2f9690a8c
BLAKE2b-256 c4d949a981c70a3aaeaaea7eea4f6e2c218d52f372ccdda7b17655cecd3ad816

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page