浏览代码

Removed obsolete comment about IntegerField introspection on Oracle.

Obsolete since e9d12bae1e59e51738c11c492c620f56f96106bf.
Mariusz Felisiak 7 年之前
父节点
当前提交
7d8fc65f36
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      django/db/backends/oracle/introspection.py

+ 0 - 1
django/db/backends/oracle/introspection.py

@@ -30,7 +30,6 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
     cache_bust_counter = 1
 
     def get_field_type(self, data_type, description):
-        # If it's a NUMBER with scale == 0, consider it an IntegerField
         if data_type == cx_Oracle.NUMBER:
             precision, scale = description[4:6]
             if scale == 0: