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
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
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
django-text-1.1.0.tar.gz
(50.6 kB
view details)
File details
Details for the file django-text-1.1.0.tar.gz
.
File metadata
- Download URL: django-text-1.1.0.tar.gz
- Upload date:
- Size: 50.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6d4b07d15ed5dd71e3158ef951c8fc16593c52fe9ed1a0fe9e714178d1aa3fc3
|
|
MD5 |
1c645439b84bef0d3c3ff89e9458515f
|
|
BLAKE2b-256 |
e808a586270276ab1221c2aabde08298bd4be458e90dd143cfd5148bc7aa26b6
|