Changes between Initial Version and Version 1 of Ticket #21502
- Timestamp:
- Nov 24, 2013, 8:03:19 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21502
- Property Cc added
-
Ticket #21502 – Description
initial v1 1 1 I am trying to upgrade from Django 1.5.5 to Django 1.6. Everything tests fine, but when I try to run my django project, I get the following error: 2 2 {{{ 3 3 ValueError: Unable to configure handler 'mail_admins': Cannot resolve 'vbenergyzone.core.utils.log.StaffSuperuserEmailHandler': cannot import name BaseHandler 4 }}} 4 5 5 6 Also: http://stackoverflow.com/questions/20167580/django-1-6-upgrade-cannot-import-name-basehandler. … … 14 15 15 16 Here is my stacktrace: 16 17 {{{ 17 18 20:29:03 web.1 | started with pid 1501 18 19 20:29:03 worker.1 | started with pid 1504 … … 94 95 20:29:04 web.1 | '%r: %s' % (name, e)) 95 96 20:29:04 web.1 | ValueError: Unable to configure handler 'mail_admins': Cannot resolve 'vbenergyzone.core.utils.log.StaffSuperuserEmailHandler': cannot import name BaseHandler 97 }}} 96 98 97 99 Here is my logging configuration: 98 100 {{{#!python 99 101 LOGGING = { 100 102 'version': 1, … … 147 149 } 148 150 } 149 151 }}} 150 152 Here is my custom logger: 151 153 {{{#!python 152 154 """ 153 155 Logging utilities … … 215 217 formatted_subject = subject.replace('\n', '\\n').replace('\r', '\\r') 216 218 return formatted_subject[:989] 219 }}}