Re: string indices must be integers, not str

2011-11-21 Thread MikeKJ
Yep, you found it a missing comma.cheers Ian Clelland-2 wrote: > > On Mon, Nov 21, 2011 at 9:37 AM, MikeKJ <mike.jo...@paston.co.uk> wrote: > >> >> Traceback >> >> string indices must be integers, not str >> >> R

Re: string indices must be integers, not str

2011-11-21 Thread Ian Clelland
On Mon, Nov 21, 2011 at 9:37 AM, MikeKJ <mike.jo...@paston.co.uk> wrote: > > Traceback > > string indices must be integers, not str > > Request Method: POST > Request URL:http://newrutherford.paston2.webfactional.com/question/ > Django Version:

Re: string indices must be integers, not str

2011-11-21 Thread MikeKJ
Traceback string indices must be integers, not str Request Method: POST Request URL:http://newrutherford.paston2.webfactional.com/question/ Django Version: 1.3.1 Exception Type: TypeError Exception Value: string indices must be integers, not str Exception

Re: string indices must be integers, not str

2011-11-21 Thread Andre Terra
Please paste your full traceback every time you are asking for help with debugging. Cheers, AT On Mon, Nov 21, 2011 at 3:10 PM, MikeKJ wrote: > > 1st time I have hit this and I am confused the subject error is returned as > in the send_mail line > all the fields in

string indices must be integers, not str

2011-11-21 Thread MikeKJ
1st time I have hit this and I am confused the subject error is returned as in the send_mail line all the fields in the model are either CharField or TextField settings.py DEFAULT_FROM_EMAIL = 'x...@.co.uk' valid email address CONTACT_EMAIL_TO = 'x...@.co.uk' valid

string indices must be integers, not str

2011-11-21 Thread MikeKJ
1st time I have hit this and I am confused the subject error is returned as in the send_mail line all the fields in the model are either CharField or TextField settings.py DEFAULT_FROM_EMAIL = 'x...@.co.uk' valid email address CONTACT_EMAIL_TO = 'x...@.co.uk' valid