durusmail: quixote-users: URL / _q_export / _q_lookup
URL / _q_export / _q_lookup
2004-09-27
2004-09-27
2004-09-27
2004-09-27
URL / _q_export / _q_lookup
Neil Schemenauer
2004-09-27
On Mon, Sep 27, 2004 at 09:04:59PM +0200, Jkx wrote:
> Another drawback, is that, this will bloat the load time, because i will
> need to create a bunch of global page, and this is'nt the way quixote
> usually works ..

    # Users.py

    _q_exports = ['something']

    class View:
        def something(self, request):
            ...

    something = View().something

Better?

  Neil

reply