Re: calling a view from a view doesnt clear the URL path

2015-05-29 Thread dk
so that redirect needs to be catch by the url, interesting. On Friday, May 29, 2015 at 1:22:40 PM UTC-5, Daniel Roseman wrote: > > You can redirect with whatever arguments you want, as long as the > receiving URL accepts them. -- You received this message because you are subscribed to the Goo

Re: calling a view from a view doesnt clear the URL path

2015-05-29 Thread Daniel Roseman
You can redirect with whatever arguments you want, as long as the receiving URL accepts them. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsub

Re: calling a view from a view doesnt clear the URL path

2015-05-29 Thread dk
can I redirect with an argument? On Friday, May 29, 2015 at 1:00:07 PM UTC-5, Daniel Roseman wrote: > > Why should it? The browser requested the original view, and the code > returned a response to that request. The browser doesn't know or care that > the process of constructing that response in

calling a view from a view doesnt clear the URL path

2015-05-29 Thread Daniel Roseman
Why should it? The browser requested the original view, and the code returned a response to that request. The browser doesn't know or care that the process of constructing that response involved calling another view function. If you want to change the URL, instead of returning the result of anot

Re: calling a view from a view doesnt clear the URL path

2015-05-29 Thread dk
in the second view I am doing at the end. return original_view(request, message="successfully") -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users

calling a view from a view doesnt clear the URL path

2015-05-29 Thread dk
I am doing something like this. http://stackoverflow.com/questions/4808329/can-i-call-a-view-from-within-another-view I have my original view that actually gets render as html. the html have a button that runs another view. with all the logic to process the information. and at the end I want to r