1、添加README

2、添加Install目录,并配备requirements.txt
3、修改urls.py配置,兼容django-1.10版本
4、Mysql驱动器使用pymysql替代mysqldb
This commit is contained in:
Yuri
2017-04-30 00:22:04 +08:00
parent c99727d16f
commit a2f3d3326e
9 changed files with 62 additions and 18 deletions
+5
View File
@@ -1,3 +1,8 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import pymysql
pymysql.install_as_MySQLdb()
#解决mysql-python的历史遗留问题(Yuri_2017-04-29)
from django.contrib import admin
admin.site.site_header = 'Django-ERP'