Re: Changing the AdminSite instance (and class) to use BEFORE the autodiscover runs

2016-01-22 Thread Raffaele Salmaso
On Fri, Jan 22, 2016 at 11:38 PM, Luis Masuelli wrote: > I would like to create a custom AdminSite instance, using a custom > subclass of my own, and provide some project-level urls for the AdminSite. > However, I would like to still benefit from the autodiscover

Changing the AdminSite instance (and class) to use BEFORE the autodiscover runs

2016-01-22 Thread Luis Masuelli
I would like to create a custom AdminSite instance, using a custom subclass of my own, and provide some project-level urls for the AdminSite. However, I would like to still benefit from the autodiscover feature. Is there a way I can instance a custom AdminSite subclass, and have that instance