django-materialMaterial Design for Django

联合创作 · 2023-09-24 12:09

Django Material


Material design for Django.

Join the chat at https://gitter.im/viewflow/django-material

  • Django-Material 1.7.x compatible with Django 1.11/2.0/2.1/2.2/3.0/3.1

  • Django-Material 1.6.x compatible with Django 1.11/2.0/2.1/2.2/3.0

  • Django-Material 1.[3,4,5].x compatible with Django 1.11/2.0/2.1/2.2

  • Django-Material 1.2.x compatible with Django 1.11/2.0

  • Django-Material 1.1.x compatible with Django 1.8/1.9/1.10/1.11


Tested with:


Overview



  • Forms - New way to render django forms

    • Strong python/html code separation

    • Easy redefinition of particular fields rendering

    • Complex form layout support


  • Frontend - Quick starter template for modular admin-line applications development



Demo


http://forms.viewflow.io/


To checkout and run open source demo version locally, you need to have git and tox tools installed.



git clone https://github.com/viewflow/django-material.git
cd django-material

TOXENV=py36-dj111 tox -- python manage.py migrate --settings=demo.settings
TOXENV=py36-dj111 tox -- python manage.py loaddata demo/fixtures/* --settings=demo.settings
TOXENV=py36-dj111 tox -- python manage.py runserver --settings=demo.settings


Then you can go to http://127.0.0.1:8000/integration/ and login with admin:admin username and password to the demo site.


Documentation


http://docs.viewflow.io/material_forms.html


License


Django Material is an Open Source project licensed under the terms of the BSD3 license


Django Material Pro with additional features has a commercial-friendly license. Check http:viewflow.io/pro/ for details.


Changelog


1.9.0 2020-04-30



  • Add support for attribute removing #500

  • Add support for groups in checkbox select multiple #436

  • Add basic support for ordering custom fields in list view #224

  • Change to lazy evaluation {{ modules }} context variable

浏览 24
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报