Skip to content

Commit b71fe09

Browse files
committed
update docs
1 parent 423688b commit b71fe09

File tree

12 files changed

+44
-300
lines changed

12 files changed

+44
-300
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/en/changelog.md

Lines changed: 4 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,6 @@
11
# ChangeLog
22

3-
## [v1.7.2](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.7.2)
4-
- fix submit_row issue & make change form tools float
5-
- improve fieldset.html & fix #15
6-
- fix translate in `password_change_form.html`
7-
- update `app.css`
8-
9-
## [v1.7.1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.7.1)
10-
- fix exception when delete in changelist_view
11-
- update docs
12-
13-
## [v1.7.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.7.0)
14-
- make previous & next button effective on change_list.html
15-
- use select2 make admin filter searchable
16-
- add search_field_placeholder for search_fields
17-
- use `github actions` replace `travis`
18-
19-
## [v1.6.1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.6.1)
20-
- fix app in ADMINLTE_SETTINGS but current_user has not perm
21-
- fix model in ADMINLTE_SETTINGS but current_user has not perm
22-
23-
## [v1.6.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.6.0)
24-
25-
- fix #26 case by modify list_per_page with '…' str
26-
- add apps options in ADMINLTE_SETTINGS for menu icon & menu order
27-
- update adminlte from 2.3.6 -> 2.4.18
28-
29-
## [v1.5.1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.5.1)
30-
31-
- fix template tag for Django 3;
32-
- fix #18 image uploads cdn assets.
33-
34-
## [v1.5.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.5.0)
35-
36-
- fix #12 admin_static is removed in django3;
37-
- add adminlte/widgets/select.html && auto active select2 by select id.
38-
39-
## [v1.4.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.4.0)
40-
41-
- feature #6 add `ADMINLTE_SETTINGS`;
42-
- update menu render logic.
43-
44-
## [v1.3.3](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.3)
45-
46-
- add menu on the top;
47-
- feature #3 add priority_level for menu order.
48-
49-
## [v1.3.2](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.2)
50-
51-
- add permission control for general_option & exchange_menu;
52-
- update menuAction js fix menu issue;
53-
- add gitter & demo;
54-
- add show_avatar and avatar_field logic;
55-
- add logged_out.html.
56-
57-
## [v1.3.1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.1)
58-
59-
- fix #2 get 500 when exchange menu;
60-
- add .gitattributes.
61-
62-
## [v1.3.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.0)
63-
64-
- add exchange_menu logic with permission limit;
65-
- add message when call exchange menu;
66-
- update docs.
67-
68-
## [v1.3.0b1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.0b1)
69-
70-
- update models, content_type option add null=True;
71-
- add js logic for menu;
72-
- add exchange_menu logic without permission limit.
73-
74-
## [v1.3.0b0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.3.0b0)
75-
76-
- add treebeard as menu depends;
77-
- add `select2` into `widgets.py`;
78-
- update site_logo save path, base on settings.MEDIA_ROOT & settings.MEDIA_URL;
79-
- fix base.html & login.html b tag issue;
80-
- change base.html extra_style and extra_head position.
81-
82-
## [v1.2.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.2.0)
83-
84-
- add models with options;
85-
- add general_option.html to manager general option;
86-
- setup app label to `django_admin_settings`;
87-
- register and add general_option into menu;
88-
- add docs.
89-
90-
## [v1.1.1](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.1.1)
91-
92-
- fix filter and search issue at change_list.html, consult django-suit.
93-
94-
## [v1.1.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/1.1.0)
95-
96-
- add pages [ delete_selected_confirmation.html,add object_history.html,404.html,500.html]
97-
- update layout when fieldset.name is not none;
98-
- update support default block extrahead extrastyle。
3+
## [v2.0.0](https://github.com/wuyue92tree/django-adminlte-ui/releases/tag/2.0.0)
4+
- remove `django-treebeard` deps, fix #28, #29, #30
5+
- remove all adminlte models, make simple
6+
- make all config base on core.AdminLteConfig

docs/en/index.md

Lines changed: 11 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,23 @@
33
[![PyPI Version](https://img.shields.io/pypi/v/django-adminlte-ui.svg)](https://pypi.python.org/pypi/django-adminlte-ui)
44
[![Download Status](https://img.shields.io/pypi/dm/django-adminlte-ui.svg)](https://pypi.python.org/pypi/django-adminlte-ui)
55
[![Build Status](https://github.com/wuyue92tree/django-adminlte-ui/workflows/main/badge.svg)](https://github.com/wuyue92tree/django-adminlte-ui/workflows/main/badge.svg)
6-
[![Gitter](https://badges.gitter.im/django-adminlte-ui/community.svg)](https://gitter.im/django-adminlte-ui/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
7-
6+
[![GitHub Pages](https://img.shields.io/badge/GitHub-Pages-brightgreen.svg)](https://wuyue92tree.github.io/django-adminlte-ui/)
7+
[![Discord](https://img.shields.io/discord/K9VH3x6T?color=7289DA&logo=discord&logoColor=white)](https://discord.gg/K9VH3x6T)
88

99
django-adminlte is a django admin theme base on adminlte
1010

1111
adminlte version: 2.4.18
1212

13+
> Since v2.0.0, all third part deps are removed except django.
14+
15+
old version docs is here: [click](https://django-adminlte-ui.readthedocs.io/)
1316

1417
## Helper
1518

1619
- if you have good ideas, just contact me.
1720
- if you find some bug, just add an issue.
1821
- if you think this project is good, just star and fork, make it better 🍉.
1922

20-
## Demo
21-
22-
[Chinese](http://django-demo.antio.top/zh-hans/admin/)
23-
24-
[English](http://django-demo.antio.top/en/admin/)
25-
26-
- username: demo
27-
- password: demo123
28-
29-
database will restore every hour. 🍌
30-
3123

3224
## Install
3325

@@ -43,58 +35,30 @@ pip install django-adminlte-ui
4335
INSTALLED_APPS = [
4436
'adminlteui',
4537
'django.contrib.admin',
46-
'django.contrib.auth',
47-
'django.contrib.sites',
48-
'django.contrib.sitemaps',
49-
'django.contrib.contenttypes',
50-
'django.contrib.sessions',
51-
'django.contrib.messages',
52-
'django.contrib.staticfiles',
53-
# custom menu base on treebeard
54-
'treebeard',
5538
...
5639
]
5740
```
5841

59-
## Init models
60-
```
61-
python manage.py migrate django_admin_settings
62-
```
6342
## Screen shot
6443

6544
### login page
66-
![login](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/login.jpg?raw=true)
45+
![login](../assets/images/login.jpg)
6746

6847
### dashboard
69-
![dashboard](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/dashboard.jpg?raw=true)
48+
![dashboard](../assets/images/dashboard.jpg)
7049

7150
### table list
72-
![table list](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/table-list.jpg?raw=true)
73-
74-
### form page
75-
![form page](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/form.png?raw=true)
76-
77-
### general_option
78-
![general_option](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/general_option.jpg?raw=true)
79-
80-
### menu list
81-
![menu list](https://github.com/wuyue92tree/django-adminlte-ui/blob/master/images/menu-list.png?raw=true)
82-
51+
![table list](../assets/images/table-list.jpg)
8352

8453
## Features
8554

86-
- [Custom General Option](https://django-adminlte-ui.readthedocs.io/en/latest/guide/#general-option)
87-
- [Widgets](https://django-adminlte-ui.readthedocs.io/en/latest/guide/#widgets)
88-
- [Custom Menu](https://django-adminlte-ui.readthedocs.io/en/latest/guide/#menu)
89-
90-
## Todo
91-
92-
- Custom Dashboard
55+
- [Custom General Option](/django-adminlte-ui/2.x/guide/#general-option)
56+
- [Widgets](/django-adminlte-ui/2.x/guide/#widgets)
57+
- [Custom Menu](/django-adminlte-ui/2.x/guide/#menu)
9358

9459

9560
## Thanks
9661

9762
- [AdminLTE](https://github.com/ColorlibHQ/AdminLTE)
9863
- [django](https://github.com/django/django)
99-
- [django-treebeard](https://github.com/django-treebeard/django-treebeard)
10064
- [django-suit](https://github.com/darklow/django-suit)

0 commit comments

Comments
 (0)