I got this to work by removing the queryset parameter.
Now I'm wondering how to *remove* specific widgets...
On Wednesday, August 9, 2017 at 1:39:36 PM UTC-4, LeVon Smoker wrote:
> I have a custom app (hrcsb_overrides) where I have am keeping my
> customizations to Mayan. I added the below code to try to add a widget to
> the home page as a shortcut to Cabinets (also to experiment).
> Cabinet = self.get_model('Cabinet')
> icon='fa fa-folder',
> The call to get_model generates an error
> LookupError: App 'hrcsb_overrides' doesn't have a 'Cabinet' model.
> which I understand but I can't figure my way around this. Maybe I'm in the
> wrong place...
> LeVon Smoker
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.