5 Commits e841564f76 ... 06abff228a

Author SHA1 Message Date
  ChangkeYang 06abff228a Merge branch 'master' of github.com:blacktear23/django_tidb 5 years ago
  yulai.li 48ff5ce0c0 Add Makefile for publish package 6 years ago
  yulai.li 18528d6131 Update version number 6 years ago
  Rain Li a64b0e2414 Merge pull request #3 from blacktear23/issue2 6 years ago
  yulai.li ac2bf616e1 #2 fix tidb not support save point 6 years ago
3 changed files with 4 additions and 1 deletions
  1. 2 0
      Makefile
  2. 1 0
      django_tidb/tidb/features.py
  3. 1 1
      setup.py

+ 2 - 0
Makefile

@@ -0,0 +1,2 @@
+publish:
+	python setup.py sdist upload -r pypi

+ 1 - 0
django_tidb/tidb/features.py

@@ -3,3 +3,4 @@ from django.db.backends.mysql import base as mybase
 
 class DatabaseFeatures(mybase.DatabaseFeatures):
     supports_foreign_keys = False
+    uses_savepoints = False

+ 1 - 1
setup.py

@@ -6,7 +6,7 @@ long_description = """TiDB backend for Django"""
 
 setup(
     name='django_tidb',
-    version='2.1',
+    version='2.1.1',
     author='Rain Li',
     author_email='blacktear23@gmail.com',
     url='http://github.com/blacktear23/django_tidb',