[web2py] Re: Generate ticket "manually"

2017-12-15 Thread Anthony
On Thursday, December 14, 2017 at 10:36:08 PM UTC-5, Brendan Barnwell wrote: > > On Thursday, December 14, 2017 at 4:10:40 AM UTC-8, Anthony wrote: >> >> Could be a little complicated. The relevant code is in gluon.restricted >> -- see >> https://github.com/web2py/web2py/blob/4f51647b2f5bd68887dd

[web2py] Re: Generate ticket "manually"

2017-12-14 Thread Brendan Barnwell
On Thursday, December 14, 2017 at 4:10:40 AM UTC-8, Anthony wrote: > > Could be a little complicated. The relevant code is in gluon.restricted -- > see > https://github.com/web2py/web2py/blob/4f51647b2f5bd68887ddd9fe139c6bbc0fa885d4/gluon/restricted.py#L115 > . > > That is unfortunate. Would be

[web2py] Re: Generate ticket "manually"

2017-12-14 Thread Anthony
Could be a little complicated. The relevant code is in gluon.restricted -- see https://github.com/web2py/web2py/blob/4f51647b2f5bd68887ddd9fe139c6bbc0fa885d4/gluon/restricted.py#L115. You could create a RestrictedError (don't raise it, though, as that will trigger web2py's error processing). Ca