1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed obsolete comment about IntegerField introspection on Oracle.

Obsolete since e9d12bae1e.
This commit is contained in:
Mariusz Felisiak 2017-07-04 14:46:40 +02:00
parent 493f7e9e1e
commit 7d8fc65f36
No known key found for this signature in database
GPG Key ID: 2EF56372BA48CD1B

View File

@ -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: