durusmail: quixote-users: Quixote programming notes
Quixote programming notes
2001-06-07
2001-06-08
2001-06-08
2001-06-08
Quixote programming notes
Neil Schemenauer
2001-06-08
On Thu, Jun 07, 2001 at 08:24:22PM -0400, Andrew Kuchling wrote:
>    The most critical configuration parameters are:
>       URL_PREFIX        Prefix of URLs that will be directed to Quixote.

This is not actually used.

> def _q_getname (request, component):
>     return RunUI(request, component)
>
> class RunUI:
>     _q_exports = ['details']
>
>     def __init__ (self, request, component):
>         run_db = get_run_database()
>         self.run = run_db.get_run(run_id, run_version)
>         if not self.run.can_access(request.session.user):
>             raise MXAccessError("You are not allowed to access run %d." %
>                               run_id)

Where does run_id come from?

  Neil


reply