0.2 增加 API 例子

This commit is contained in:
何全
2019-03-26 15:20:54 +08:00
parent f79661c783
commit b8fac35506
10 changed files with 133 additions and 58 deletions

View File

@@ -1,8 +1,9 @@
# 海豹
![版本](https://img.shields.io/badge/release-0.1-blue.svg)
![版本](https://img.shields.io/badge/release-0.2-blue.svg)
![语言](https://img.shields.io/badge/language-python3.6-blue.svg)
![语言](https://img.shields.io/badge/env-django2.1-red.svg)
![语言](https://img.shields.io/badge/env-django2.1.7-red.svg)
![bootstrap4](https://img.shields.io/badge/model-bootstrap4-mauve.svg)
> django-base-templastes
> 因本项目开始时间为3月1日,是 国际海豹日,故项目起名为 海豹 seal
@@ -11,11 +12,11 @@
## 介绍
* 基于bootstrap4+django2.1+python3.6+celery异步任务
* 基于bootstrap4+django2.1+python3.6+celery4 异步任务
* 前端模板 inspinia 2.9
* 会尽量多加一些注释
* 采用cbv开发方式提高开发效率
* python3.7 兼容性未做测试
* 增加 drf api 例子
## DEMO
@@ -48,6 +49,8 @@ python manage.py createsuperuser
python manage.py runserver 0.0.0.0:80
```
* 扩展功能-异步1 推荐 定时任务用celery
```bash
#需要安装redis