Re: Login tags in default project configuration

"Jonathan Ellis" <[email protected]> Tue, 29 Aug 2006 09:30:14 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Tue, 29 Aug 2006 11:59:51 -0400, "Tim Lesher" <[email protected]>
said:
> When you first create a new Spyce project, the config.py contains:
> 
> #login_render = 'auth:render'
> #loginrequired_render = 'auth:render_reqd'
> 
> This causes a literal <auth/> tag to be inserted into the page, with
> no form controls.
> 
> The config.py docs say this should be:
> 
> login_render="render:login"
> loginrequired_render="render:login_required"
> 
> which does create the correct form controls.
> 
> Is this an error in generating the config.py file, or am I missing
> something?

The former.  (Ah, the perils of violating DRY! :)

Fixed in svn; will be in 2.1.3.  Thanks for the report.

-J
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642