'QuerySet' object has no attribute 'ordered' Error When Using Inline Formset

2009-12-08 Thread saved...@gmail.com
Every time I try to access a formset via inlineformset_factory I get the following error messages: Traceback: File "/home/luckybs/webapps/django1/lib/python2.5/django/core/handlers/ base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File

Inlineformset_factory and User model

2009-12-02 Thread saved...@gmail.com
Hello All! I am trying to have my users post multiple books via Inlineformset_factory. Basically, I am unable to do that automatically via the following code without having them select their name. I get an error saying that 'User has no attribute 'get''. Any help is much appreciated. Ken model

Entering {{ variable }} into the Admin Interface

2009-06-11 Thread saved...@gmail.com
If the following question seems daft, then excuse me. Is it possible (from a data entry perspective) to enter a string with the variable in the admin? For example, can I enter the following data into the admin, "My name is {{ user.username }} ." When the template engine encounters this, it wi

Trying to dynamically control FLV video

2009-04-09 Thread saved...@gmail.com
I have been working on an question/answer app that embeds a video along with the question. If the user answers the question correctly, then the app redirects to the next question/video. Would the best practice be to embed the video using a template tag (videoplayer.py, for example), or to use a

Re: httpresponseredirect

2009-01-21 Thread saved...@gmail.com
ot found in %r" % (key, self) Exception Type: MultiValueDictKeyError at /questions/1/answer/ Exception Value: "Key 'answer' not found in " Any advice? On Jan 21, 2:24 pm, "saved...@gmail.com" wrote: > Let me learn how to crawl before I can walk... > Thanks for your

Re: httpresponseredirect

2009-01-21 Thread saved...@gmail.com
ot found in %r" % (key, self) Exception Type: MultiValueDictKeyError at /questions/1/answer/ Exception Value: "Key 'answer' not found in " Any advice? On Jan 21, 2:24 pm, "saved...@gmail.com" wrote: > Let me learn how to crawl before I can walk... > Thanks for your

Re: httpresponseredirect

2009-01-21 Thread saved...@gmail.com
Let me learn how to crawl before I can walk... Thanks for your time.. Ken On Jan 21, 10:48 am, "saved...@gmail.com" wrote: > Hello Malcolm, > Thanks for your response.  I have thought very carefully before > responding to your email.  In no way was I ignoring your previous &g

Re: httpresponseredirect

2009-01-21 Thread saved...@gmail.com
it up, but to no avail. Would I place the print statements after each line of the view? Regards, Ken On Jan 20, 10:13 pm, Malcolm Tredinnick wrote: > On Tue, 2009-01-20 at 17:51 -0800, saved...@gmail.com wrote: > > Hello Malcolm, > > > Thanks for you reply.  Unfortunately, there

Re: httpresponseredirect

2009-01-20 Thread saved...@gmail.com
27;), ) I'm not sure on how I should proceed... Considering... On Jan 20, 7:01 pm, Malcolm Tredinnick wrote: > On Tue, 2009-01-20 at 15:43 -0800, saved...@gmail.com wrote: > > Hello Malcolm, > > > Thanks for your reply.  In response to your questions: > > > > (a)

Re: httpresponseredirect

2009-01-20 Thread saved...@gmail.com
e that this is sufficient response and not a waste of your time. Ken On Jan 20, 6:12 pm, Malcolm Tredinnick wrote: > On Tue, 2009-01-20 at 13:08 -0800, saved...@gmail.com wrote: > > i have a quiz app, 4 answers per question, one correct via boolean. > > For some reason I can't

httpresponseredirect

2009-01-20 Thread saved...@gmail.com
i have a quiz app, 4 answers per question, one correct via boolean. For some reason I can't get the view to redirect to next question if answer is correct. Whenever I click on the correct answer the app doesn't redirect to the next question. Could anyone take a look at this and see what I'm doin