https://github.com/svtter/django_layui29
django plugin for layui framework
https://github.com/svtter/django_layui29
django layui
Last synced: 7 months ago
JSON representation
django plugin for layui framework
- Host: GitHub
- URL: https://github.com/svtter/django_layui29
- Owner: Svtter
- License: bsd-2-clause
- Created: 2023-10-22T02:57:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T09:39:00.000Z (over 1 year ago)
- Last Synced: 2024-04-16T13:21:45.319Z (over 1 year ago)
- Topics: django, layui
- Language: HTML
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django_layui29
> WARNING: This project is unstable. Please do not use in your production project.
集成 layui version 2.9.25 的 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](https://github.com/Svtter/django_layui29.git) 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:
```python
INSTALLED_APPS = [
...
'your_app',
'django_layui29',
]
```## Usage
1. add `django_layui29` to your settings.
2. in your template, `{% extends 'layui29/base.html' %}`.