Overview

Django-inline

Dmitri Lebedev, 2011

This is a Django backend for jeditable project. Can edit fields of Django model instances.

Usage

In a template:

{% load inline %}
{% editable blog_post title %}
    <h1>{% blog_post.title %}</h1>
{% endeditable %}
{% editable blog_post text %}
    <p>{% blog_post.text %}</p>
{% endeditable %}

Installation

Use pip or easy_install to install the package:

$ pip install django-partial-page

or clone this repository to get the latest revision:

$ hg clone ssh://hg@bitbucket.org/siberiano/django-inline
$ cd django-inline
$ python setup.py install

Add the application to INSTALLED_APPS:

('django_inline')

and to urls.py:

(r'^inline/', include('django_inline')),

Requirements

  • Django 1.x

License

GPL