If you newly try out TurboGears, you should use 2.2 instead of 2.1.
> It didn't work with the paste server because of how my school's virtual
> network is setup. This is why I switched to mod_wsgi and apache.
This should always work at least with the loopback interface
(127.0.0.1), no matter which network. The usual way is to develop and
test an application locally with the paste server. Only then you make
the next step and deploy it via mod_wsgi. The recipes for mod_wsgi also
usually assume production mode, so you will have less debugging info
available (in terms of logs, tracebacks in the browser, debug bar).
> The page display fine and everything. But when I clicked the save button
> to call the method defined in root.py, it doesn't work properly. It
> suppose to modify the page and redirects me back to /'pagename" but
> instead it constantly redirects me back to "/save".
Redirects you back? If you click "save" you should be already there. It
should store the page (does it do that?) and then redirect you.
I recommend you first try it out in development mode without mod_wsgi,
and if that does not work, show us your save controller and
logs/tracebacks if there are any errors.
-- Christoph