Hi folks,
This is a head-scratcher to me. I occasionally get this error:
---
File /var/www/myproj/account/views.py, line 54, in account
if request.account.is_instructor and request.account.contact and
request.account.contact.relationship.institution_party_number:
AttributeError:
On Nov 8, 11:17 am, Scott Gould zinck...@gmail.com wrote:
Hi folks,
This is a head-scratcher to me. I occasionally get this error:
---
File /var/www/myproj/account/views.py, line 54, in account
if request.account.is_instructor and request.account.contact and
On Mon, Nov 8, 2010 at 11:17 AM, Scott Gould zinck...@gmail.com wrote:
---
File /var/www/myproj/account/views.py, line 54, in account
if request.account.is_instructor and request.account.contact and
request.account.contact.relationship.institution_party_number:
AttributeError: 'NoneType'
Scott Gould wrote:
Hi folks,
This is a head-scratcher to me. I occasionally get this error:
---
File /var/www/myproj/account/views.py, line 54, in account
if request.account.is_instructor and request.account.contact and
Thanks for the ideas, everyone. It's probably obvious that this is in
a Django context, and while I do have WSGI configured to multi-thread
its processes, there is nothing explicitly shared -- via threading, a
multi-user situation, or otherwise -- about this data. It is entirely
local to the
Scott Gould wrote:
Thanks for the ideas, everyone. It's probably obvious that this is in
a Django context, and while I do have WSGI configured to multi-thread
its processes, there is nothing explicitly shared -- via threading, a
multi-user situation, or otherwise -- about this data. It is
Scott Gould wrote:
Thanks for the ideas, everyone. It's probably obvious that this is in
a Django context, and while I do have WSGI configured to multi-thread
its processes, there is nothing explicitly shared -- via threading, a
multi-user situation, or otherwise -- about this data. It is