Browse Source

Merge branch 'master' of github.com:blacktear23/django_tidb

ChangkeYang 5 years ago
parent
commit
06abff228a
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',