Re: understsanding views

2009-09-09 Thread mettwoch
That function should at least return somewhere, I guess to the caller which might be a "view" function that returns a HttpResponse. Anyway, You should consider putting code that updates the database in the "model". Marc On Sep 9, 4:25 pm, elminio wrote: > Hello, > > I assume that each view sho

Re: understsanding views

2009-09-09 Thread Javier Guerra
On Wed, Sep 9, 2009 at 9:25 AM, elminio wrote: > I assume that each view should return Httpresponse. What when I just > want to execute function which updates my databes and doesnt redirect > anywhere ? the HTTP client is still waiting for some response. usually i do an HttpRedirect() to the upd