This is awesome. Thanks for the quick responses.

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')
>
>         DashboardWidget(
>             icon='fa fa-folder',
>             queryset=Cabinet.objects.all(),
>             label=_('Cabinets'),
>             link=reverse_lazy('cabinets:cabinet_list')
>         )
>
> 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...
>
> Thanks,
> 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 
to mayan-edms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to