Skip to main content

Intuitive text editing for the Django Admin.

Project description

:warning: This project is in early development and has bugs, contribution is welcome.

# django-text

Edit content in the Django Admin.

## Installation and usage

Install the package with pip.

```shell
$ pip install django-text
```

Add `'text'` to your installed packages.

```python
# settings.py

INSTALLED_APPS = (
# ...
'text',
)
```

Run `migrate`.

```shell
$ python manage.py migrate
```

Add `editable` tags to your templates.

```html
<h1>{% editable header %}</h1>

<div class="content">
{% editable text_body %}
</div>
```

Now add text nodes with the corresponding names in the Django Admin.
Currently raw text and [markdown](http://daringfireball.net/projects/markdown/) is supported.

![django-text in action](/docs/printscreen.png)

Project details


Download files

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

Files for django-text, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-text-1.1.0.tar.gz (50.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page