iommi is a high level framework built on django
Project description
iommi is a toolkit to build web apps faster. It’s built on Django but goes a lot further.
It has:
forms: that feel familiar, but can handle growing complexity better than Djangos forms
tables: that are powerful out of the box and scale up to arbitrary complexity
a system to compose parts:, like forms, menus, and tables, into bigger pages
tools that will speed up your development like live edit, jump to code, great feedback for missing select/prefetch related, a profiler, and more.
great error messages when you make a mistake
Example:
class IndexPage(Page):
title = html.h1('Supernaut')
welcome_text = 'This is a discography of the best acts in music!'
artists = Table(auto__model=Artist, page_size=5)
albums = Table(
auto__model=Album,
page_size=5,
)
tracks = Table(auto__model=Album, page_size=5)
urlpatterns = [
path('', IndexPage().as_view()),
]
This creates a page with three separate tables, a header and some text:
For more examples, see the examples project.
Usage
See usage.
Running tests
You need to have tox installed then:
make venv
source env/bin/activate
make test
make test-docs
License
BSD
Documentation
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
Built Distribution
Hashes for iommi-2.8.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b06e5c731a8240498ecc92491815341de1d464243491dd5a328a054458ca49 |
|
MD5 | e853342dde03faa62a3d27a757a3edc8 |
|
BLAKE2b-256 | 4b24dd5bdd0ce6a5b0c405e7b883205a0b848ecae6c648b20ac8a4daf1c83928 |