mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Replaced six.callable with callable.
This commit is contained in:
@@ -204,7 +204,7 @@ class BaseDatabaseSchemaEditor(object):
|
|||||||
else:
|
else:
|
||||||
default = None
|
default = None
|
||||||
# If it's a callable, call it
|
# If it's a callable, call it
|
||||||
if six.callable(default):
|
if callable(default):
|
||||||
default = default()
|
default = default()
|
||||||
# Run it through the field's get_db_prep_save method so we can send it
|
# Run it through the field's get_db_prep_save method so we can send it
|
||||||
# to the database.
|
# to the database.
|
||||||
|
|||||||
Reference in New Issue
Block a user