Skip to main content

Intuitive text editing for the Django Admin.

Project description

# 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.

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-text-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file django-text-1.0.1.tar.gz.

File metadata

  • Download URL: django-text-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-text-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ca891a940eadada6dd8fd4a9f8a9fbd1aaa90fff9126e4c21bb1ca466bc6fddf
MD5 d3c8bde04d60a34d53e1d7f0352d29d0
BLAKE2b-256 3ac4aef25c811bdb9f464c907992c8e1b8fbef85c100450bf5fc6eaecb7b97c2

See more details on using hashes here.

Supported by

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