Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/poetries/django-shop

Python3+Django+xadmin搭建一个教育平台
https://github.com/poetries/django-shop

django docker html5 javascript pycharm python3 xadmin-python3

Last synced: 25 days ago
JSON representation

Python3+Django+xadmin搭建一个教育平台

Awesome Lists containing this project

README

        

### 基于Django+xadmin的一个后台管理系统

![](https://camo.githubusercontent.com/5fb259203805e2189b8c165d05bd7fa128898cfe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d707974686f6e2d6f72616e67652e737667)

实现功能
---

![功能一览](http://upload-images.jianshu.io/upload_images/1480597-17fa9e5496b6d6da.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

开发环境
---

- visualenv
- Python 3.5
- Django 1.9.0
- xadmin 0.6.1

启动项目
---

**第一步:配置数据库**

- 确保你已经安装了 `MySQL`
- 在`settings.py` 里填入你的数据库信息
- 生成数据表(打开pycharm,Tools->Run manage.py Task,然后依次输入 `makemigrations` `migrate`生成数据表到数据库中)

```
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'imooc',
'USER': 'root',
'PASSWORD': 'root',
'HOST': '127.0.0.1',
}
}
```

**第二步:安装相应的包**

```
distribute (0.7.3)
Django (1.9)
django-crispy-forms (1.6.1)
django-formtools (2.0)
django-pure-pagination (0.3.0)
django-reversion (2.0.8)
django-simple-captcha (0.4.6)
httplib2 (0.9.2)
mysqlclient (1.3.10)
olefile (0.44)
Pillow (4.0.0)
pip (9.0.1)
setuptools (28.8.0)
six (1.10.0)
wheel (0.29.0)
```

ScreenShot
---

- 前台

![](static/screenshot/qt1.PNG)
![](static/screenshot/qt2.PNG)
![](static/screenshot/qt3.PNG)
![](static/screenshot/qt4.PNG)
![](static/screenshot/qt5.PNG)

- 后台

![](static/screenshot/houtai.PNG)
![](static/screenshot/houtai2.PNG)

演示
---