Skip to content

Commit c21fd77

Browse files
authored
Merge pull request #9 from grongierisc/main
Make use of community driver and support of streams
2 parents d2255b5 + ae58689 commit c21fd77

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ venv.bak/
103103

104104
# mypy
105105
.mypy_cache/
106+
.DS_Store

django_iris/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .creation import DatabaseCreation
1313
from .validation import DatabaseValidation
1414

15-
import iris as Database
15+
import intersystems_iris as Database
1616

1717

1818
Database.Warning = type("StandardError", (object,), {})
@@ -65,9 +65,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
6565
'SlugField': 'VARCHAR(%(max_length)s)',
6666
'SmallAutoField': 'SMALLINT AUTO_INCREMENT',
6767
'SmallIntegerField': 'SMALLINT',
68-
# 'TextField': 'LONG',
69-
# Stream not supported yet by db-api
70-
'TextField': 'VARCHAR(255)',
68+
'TextField': 'TEXT',
7169
'TimeField': 'TIME(6)',
7270
'UUIDField': 'CHAR(32)',
7371
}
-102 KB
Binary file not shown.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/intersystems-community/iris-driver-distribution/raw/main/DB-API/intersystems_irispython-3.2.0-py3-none-any.whl
1+
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.4.1/intersystems_iris-3.4.1-py3-none-any.whl

0 commit comments

Comments
 (0)