django/django — pull request #3739 by tuxskar (2014-12-16 23:36:55+00:00)
Title: Fixed ticket #23998, datetime.time default value on migrations

When trying to use datetime.time(10) value for a django.db.models.fields.TimeField model default value on the default value questioner the system raises this exception:
```
The datetime module is available, so you can do e.g. datetime.date.today()
>>> datetime.time(10)
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
[....]
File "/Users/tuxskar/.virtualenvs/caluny/lib/python2.7/site-packages/django/db/migrations/questioner.py", line 126, in ask_not_null_addition
return eval(code, {}, {"datetime": datetime_safe})
File "", line 1, in
TypeError: 'module' object is not callable
```
This patch fix it