Cool, thanks, I will try that!
On Apr 22, 12:19 am, Ayaz Ahmed Khan wrote:
> On 22-Apr-09, at 3:06 AM,Margiewrote:
>
> > Then in my html on the button that does the unlock I have something
> > like this:
>
> >
> > I just thought maybe there was django magic that wouldn't require
On 22-Apr-09, at 3:06 AM, Margie wrote:
> Then in my html on the button that does the unlock I have something
> like this:
>
>
> I just thought maybe there was django magic that wouldn't require me
> to pass in the "next" url.
>
> Thanks for your insights!
If you want to avoid passing in a
Thanks. Yes, your point about ajax is a good one, and in some cases
that is what I want, but in other cases I want to reexecute the
views.py code for the current page because now it will display
something new, due to the "action" I just completed.
For example, I am listing the posts for a forum
2009/4/21 Margie :
>
> Can anyone advise me on what is the best way in the views.py code to
> return an HttpResponse that simply returns the user to the previous
> page they were on?
>
> For example, let's say that multiple different pages have a button
> that executes
On Apr 21, 10:53 pm, Margie wrote:
> Can anyone advise me on what is the best way in the views.py code to
> return an HttpResponse that simply returns the user to the previous
> page they were on?
>
> For example, let's say that multiple different pages have a button
Can anyone advise me on what is the best way in the views.py code to
return an HttpResponse that simply returns the user to the previous
page they were on?
For example, let's say that multiple different pages have a button
that executes some code in views.py, but is not intended to actually
take
6 matches
Mail list logo