Skip to content

nyejon/django-material

 
 

Repository files navigation

Django Material

Material design for Django Forms and Admin. Template driven.

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

Django-Material works with Django 1.8/1.9/1.10/1.11

Django-Material 1.x branch going to be supported till Django 1.8 lifetime (April 2018)

Tested with:

demo/static/img/browserstack_small.png

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 applications development
  • Admin - Material-designed django admin

.screen.png

Demo

http://forms.viewflow.io/

To checkout and run open source demo version localy, 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.1.0 2017-10-27 - Stable

  • Update MaterializeCSS to 0.100.2
  • Forms - Localize DateTime picker
  • Forms - Add clear button on ajax autocomplete fields
  • Frontend - Allow to set ordering in the list view from viewset
  • Frontend - Fix permission check for the create view
  • Admin - Fix inline formset errors
  • Admin - Add file download link on the file fields

About

Material Design for django forms and admin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 71.8%
  • JavaScript 21.7%
  • Python 4.2%
  • HTML 2.3%