
django-inline
Django application for edit model fields inline.
Quick example:
```
{% load inline %}
$(document).ready(function() {
django_inline()
});
.active_edit {
background-color: #ffef9c;
cursor: hand;
}
.active_edit > form {
background-color: transperent;
}
{% editable test_object edit_this %}{{ test_object.edit_this }}{% endeditable %}
```
Next you must login as administrator (or must have rights to edit model) and press Ctrl + Enter. You will in edit mode where all editable places are merked by background. Click on this place and type new value.
All widgets came from admin settings.
For ex you can download next application (only manage.py runserver) and go to http://localhost:8000/test/. Enjoy :)
Project Information
- License: GNU Lesser GPL
- 13 stars
- svn-based source control