It's really not clear what you're trying to do. Why does the return value of the call to
save_entry
need to be passed to render
? Is "encyclopedia/save.html"
a template that needs that value? If so, why do you need to redirect? On the flip side, if that isn't a template that needs rendering and you just need to do a redirect after doing the save, why are you calling render
?