summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/backends/base/schema.py2
1 files changed, 1 insertions, 1 deletions
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.