Replaced `six.callable` with `callable`.

This commit is contained in:
Ville Skyttä 2016-05-09 01:07:15 +03:00 committed by Tim Graham
parent 80bf3135d0
commit 413f3bb5c8
1 changed files with 1 additions and 1 deletions

View File

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