t; > > question_manager.generate_question_form(1,question)
> > > question_answer_form = _QuestionAnswerForm()
>
> > > I'm a bit ambiguous on the details of how class factories / etc work,
> > > so I may be doing that bit wrong.
>
> > >
=
> > question_manager.generate_question_form(1,question)
> > question_answer_form = _QuestionAnswerForm()
>
> > I'm a bit ambiguous on the details of how class factories / etc work,
> > so I may be doing that bit wrong.
>
> > Either way, when I t
_question_form(1,question)
> question_answer_form = _QuestionAnswerForm()
>
> I'm a bit ambiguous on the details of how class factories / etc work,
> so I may be doing that bit wrong.
>
> Either way, when I try to render this as either just a string or a
> form, I get
n the details of how class factories / etc work,
so I may be doing that bit wrong.
Either way, when I try to render this as either just a string or a
form, I get the following error:
Caught an exception while rendering: string index out of range
Peeking at the local variables, question_answer_form a
I have field in a form like,
foo = forms.DateField(required = False, input_formats = '%m/%d/%Y')
Now when I try to enter a date like 10/25/2006 I am getting an error
string index out of range . Full stack trace,
Traceback:
File "C:\Python24\lib\site-packages\django\core\handl
if settings.APPEND_SLASH and (old_url[1][-1] != '/')
and ('.' not in old_url[1].split('/')[-1]):
42 new_url[1] = new_url[1] + '/'
43 if settings.DEBUG and request.method == 'POST':
global settings = ,
settings.AP
On Sat, 2007-05-12 at 13:29 -0700, Mark Phillips wrote:
> Thank you, Don. I understand what Malcolm wrote. I didn't include the
> trace back and that was indeed a mistake.
>
> After walking through the set up and making some adjustments
> to .htaccess, I stopped getting a trace back in the br
Thank you, Don. I understand what Malcolm wrote. I didn't include the
trace back and that was indeed a mistake.
After walking through the set up and making some adjustments
to .htaccess, I stopped getting a trace back in the browser. Thus, I
didn't have much to share with Malcolm.
This mor
You stated you got a python traceback and yet you only show us the
error message. What Malcolm was trying to say was that it would be
helpful to print out that traceback, rather than your Apache
configuration, at least to start with.
When debugging a problem it's always best to start with t
On May 11, 2007, at 9:40 PM, Malcolm Tredinnick wrote:
> More information is definitely needed here. You've just done the
> equivalent of "I've had a car accident." "Where should we send the
> auto
> service?" "There's a traffic light here."
Thanks for the reply, Malcolm.
--~--~-~--~
com"
> or similar. For example, "mydjango.mysite.com/admin" returns a 404
> page and "mydjango.mysite.com" returns the default index.html page.
>
> The good news is I got a python traceback, meaning the fastcgi is
> working. The bad news is I got a python
quot; returns a 404
page and "mydjango.mysite.com" returns the default index.html page.
The good news is I got a python traceback, meaning the fastcgi is
working. The bad news is I got a python traceback. The reported error
was "string index out of range".
In httpd.conf I a
allback_kwargs)
> File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/
> decorators.py" in _checklogin
> 55. return view_func(request, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/django/views/decorators/
> cache.py" in _wrapped_view_func
>
gs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/
main.py" in change_stage
329. new_object = manipulator.save(new_data)
File "/usr/lib/python2.5/site-packages/django/db/models/
manipulators.py" in save
165. if rel_new_data[related.opts.pk.name][0]:
Ind
14 matches
Mail list logo