#26839: Migrate: TypeError: 'module' object is not callable
--------------------------------+--------------------------------------
     Reporter:  henriquechehad  |                    Owner:  nobody
         Type:  Uncategorized   |                   Status:  closed
    Component:  Migrations      |                  Version:  1.9
     Severity:  Normal          |               Resolution:  needsinfo
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------

Comment (by henriquechehad):

 Thank you. Located the problem. Is local.

 The default option calls another code that have the bellow code:

 {{{
 try:
     from django.utils.timezone import utc, now, today
 except ImportError:
     return datetime.now()
 }}}

 Django 1.9 doesn't have the path "django.utils.timezone.now"

 The ImportError returns the wrong value!

 Thank you!

--
Ticket URL: <https://code.djangoproject.com/ticket/26839#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.9bd1dbbd3620e87ec10f332cd4bd3568%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to