Here's how you do it:
0) put your .spi in the tags/ directory generated by spyceProject
1) add your .spi to the globaltags list
globaltags.append((None, 'myRender.spi', 'myrender'))
2) change login and loginrequired renders to yours
login_render = 'myrender:login'
loginrequired_render = 'myrender:login_required'
3) you probably also want to change the default validator, look for
login_defaultvalidator in spyceconf.py and read the comments above it
On 12/18/06, Wolfgang Reiser <w-reiser@...> wrote:
> Hi Jonathan!
> I have a little problem, I want to make a customized login_required handler and don't know
> how. I have written a customized .spi file named myRender.spi where do I have to put it
> and how do I have to edit my config.py?
> You have written in your blog that it is easy to cutomize such things in spyce, could you please
> explain how?