[Grok-dev] Grokker to remove development code?

Sebastian Ware sebastian at urbantalk.se
Thu Dec 4 03:19:52 EST 2008


Anything to this effect would be great!

Mvh Sebastian

3 dec 2008 kl. 20.00 skrev Brandon Craig Rhodes:

> Martijn Faassen <faassen at startifact.com> writes:
>
>> What we *should* do is extend martian so we can tag our classes:
>>
>> class MyView(grok.View):
>>     grok.tag('dev')
>
> Instead of introducing yet another labelling axis, could marker
> interfaces be used instead?
>
> class MyView(grok.View):
>    grok.implements(IDevelopmentOnly)
>
> <grok:grok package="." interface_exclude="IDevelopmentOnly">
>
> -- 
> Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list