[Grok-dev] grok.local_utility is not registering anything in the app
kevin at bud.ca
Thu Feb 19 13:52:28 EST 2009
At a casual glance, the code looks OK (except "super(Aquisicao, self)"
should be calling "MyApp" instead?).
One gotcha that might be tripping you up is that Local utilities are
only instantiated when an instance of MyApp is created. If you've
already made an instance of MyApp for testing, and then you add the
grok.local_utility code later, you'll need to create a new app from
the Grok Admin screen (or if you have a production app with lots of
data, you can write a migration script to add the local utilities).
More information about the Grok-dev