Django AJAX ModelForms. Read-only display ModelForms. Django AJAX grids with CRUD and custom actions. Supports Django Templates.
Project description
Screenshot of sample application:
More screenshots with descriptions are available at: https://github.com/Dmitri-Sintsov/djk-sample/wiki
Documentation (in development): https://django-jinja-knockout.readthedocs.org/
Please contribute to the localization of the project:
Thanks to pawelkoston for Polish localization.
Key features
Django 1.8, 1.9. 1.10 support. Python 3.4 / 3.5 support.
Supports existing Django templates (DTL).
Bootstrap 3 / Jinja2 / Knockout.js integration into Django projects.
No deep knowledge of Knockout.js is required: it has ready working components.
Dynamic adding / removing of inline formsets with Knockout.js, protected from XSS.
Django raw queries with filter() / exclude() / order() / values() / values_list() and SQL slicing support via FilteredRawQuerySet, suitable for usage in ListView / ListSortingView / KoGridView derived classes.
Knockout.js powered AJAX django.admin-like grids (paginated tables) with sorting / filters and custom actions.
ForeignKeyGridWidget provides ForeignKeyRawIdWidget-like functionality to select ModelForm foreign key field value via AJAX query / response.
Jinja2 templates can be integrated into existing Django templates via custom template library tag:
{% extends 'base_min.html' %} {% load jinja %} {% load staticfiles %} {% block main %} {% jinja 'bs_list.htm' with _render_=1 view=view object_list=object_list is_paginated=is_paginated page_obj=page_obj %} {% endblock main %}
Documentation
The full documentation is at https://django-jinja-knockout.readthedocs.org.
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
Hashes for django-jinja-knockout-0.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba91da2dd22fce1ce45e69905ad7abe80d16f0f6bd8902e2d889767ea1c21e53 |
|
MD5 | 9c554e9e644fbd071808159175a186b3 |
|
BLAKE2b-256 | 9ff3067b41a8b3e12d641b5afae30cf776bccaf9f0503bdbbacbcfa661593e10 |