Congratulations.
A tip: create readable, simple and efficient URLs, like:
http://www.pyforum.org/name-of-forum/title-of-post
instead of:
http://www.pyforum.org/(...)/view_forum/2
http://www.pyforum.org/(...)/view_topic/234
This is a principle that I try to follow in all my apps.
In web2py you can do this by configuring routes.py or, if you use
Apache, .htaccess.
--
Álvaro Justen
Peta5 - Telecomunicações e Software Livre
21 3021-6001 / 9898-0141
http://www.peta5.com.br/
If I click in link in your nick on a post, pyForum sends me to:
http://www.pyforum.org/pyforum/default/message_new/Speedbird
But I got an "invalid function" error.
I've adjusted the admin app to pack things except errors/* and sessions/*
However I still choose to call __cleanup() before packing, because it is more simple, and no need to repeat special treatment for errors/* and sessions/* (the DRY rule). Besides, I fixed a bug occurs when trying to cleanup admin app.
Just use the attached default.py to replace web2py 1.61's applications/admin/controllers/default.py
Best regards,
Iceberg, 2009-Apr-13, 23:07(PM), Mon
----------------------- Original Message -----------------------
From: mdipierro <mdipie...@cs.depaul.edu>
To: web2py Web Framework <web...@googlegroups.com>
Date: Sun, 12 Apr 2009 23:12:41 -0700 (PDT)
Subject: Re: New App - hope you like it
-------------------