What do you mean by :
> > The have the view that the form posts back to put the result of the search 
> > in the generated HTML for the result.
What is the name of view, in which folder.

My question was:
> >  1   <input type="text" name="q" value="{{ query|escape }}" ?????
> >  2   <input type="submit" value="Search1">
>
> > On line 1 user put a word
> > On line 2 user start search in database
> > I would like to get the result of the search printed back in the same
> > field on the line 1.
>From the examples of Django the search result is printed below on the
webpage, but not in the same field where search was performed.
if you could paste code of any example it would be grate.

gintare


On 17 Vas, 18:10, Malcolm Box <malcolm....@gmail.com> wrote:
> On Wed, Feb 17, 2010 at 3:12 PM, gintare <g.statk...@gmail.com> wrote:
>
> > One more simple question:
>
> > Is it possible that area which is used for data submission also can be
> > updated from python script.
>
> It's not clear what you mean by this.  The python (Django) script isn't
> running in the webbrowser, so it can't update the webbrowser unless the
> browser makes a HTTP request and then renders the response.
>
> >  1   <input type="text" name="q" value="{{ query|escape }}" ?????
> >  2   <input type="submit" value="Search1">
>
> > On line 1 user put a word
> > On line 2 user start search in database
> > I would like to get the result of the search printed back in the same
> > field on the line 1.
>
> > The have the view that the form posts back to put the result of the search
>
> in the generated HTML for the result.
>
> Malcolm

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to