Kevin Dangoor wrote:
> On 4/21/06, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> > At first I'd like to start the tutorial from scratch as I've decided
> > to make a simple skeleton for a blogging tool instead of a wiki (to
> > have separate access for editing/addding posts and a public one for
> > adding comments). I'll be doing in a trac/svn repository of mine for
> > the time being, when finished I'll release a tarball of the whole
> > repository which can be downloaded to "play with" offline or to
> > include it in TG's.
>
> Good thought. A blogging tool is probably a better example for some of
> these things.

+1

Yep, very good idea that will show off identity as well, don't forget
to use the imports we have decided to use inside our documentation.

We haven't discussed about identity imports, that's what I had in mind:

Instead of:

from turbogears import identity
...
@identity.require(identity.not_anonymous())
@identity.require(identity.in_group("admin"))

what about:

from turbogears.identity import require
from turbogears import identity
...
@require(identity.not_anonymous())
@require(identity.in_group("admin"))

Looking forward to the first release. ;-)

Ciao
Michele


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to