Svtter / django_layui29

django plugin for layui framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django_layui29

WARNING: This project is unstable. Please do not use in your production project.

集成 layui version 2.9.8 的 django 插件。

  • htmx 1.9.4
  • js.cookie.js 3.0.5

Installation

pip install django_layui29

Features

This section lists all features about django-layui29.

  • center/admin/nomral layout.
  • table components.

Example project

You could run the testapp in this repo to view the features.

The file layui29/component/base/header.html need to be replaced.

When doing the replacement, put your apps in front of django_layui29, like this:

INSTALLED_APPS = [
    ...
    'your_app',
    'django_layui29',
]

Usage

  1. add django_layui29 to your settings.
  2. in your template, {% extends 'layui29/base.html' %}.

About

django plugin for layui framework

License:BSD 2-Clause "Simplified" License


Languages

Language:HTML 63.9%Language:Python 28.7%Language:CSS 4.1%Language:JavaScript 3.3%