Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.