On Mon, Sep 27, 2004 at 06:17:05PM +0200, Jkx wrote:
> Right now, i want to do the same stuff without the _q_lookup.
> I mean. I want to have something like this
>
> -----------------------------------------------------------
> #Users.py
> class View:
> _q_export = ['XXXX', ]
>
> def XXXXX(self,request):
> ...
>
> And i want to have a url like http://localhost:8080/users/Users/XXXX
> (read call the method XXXX on the View of module Users)
It's not exactly clear to me what you want. Perhaps you want to
have a global instance. Something like this:
# users.py
_q_exports = ['Users']
class View:
_q_exports = ['XXXXX', ]
def XXXXX(self,request):
...
Users = View()
Does that help?
Neil