From 413f3bb5c8f29fae08de58d5424b2be185739b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 9 May 2016 01:07:15 +0300 Subject: [PATCH] Replaced `six.callable` with `callable`. --- django/db/backends/base/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py index 0dcd71a9d0..f91ab72e3d 100644 --- a/django/db/backends/base/schema.py +++ b/django/db/backends/base/schema.py @@ -204,7 +204,7 @@ class BaseDatabaseSchemaEditor(object): else: default = None # If it's a callable, call it - if six.callable(default): + if callable(default): default = default() # Run it through the field's get_db_prep_save method so we can send it # to the database.