Trouble adding custom view to admin-site instance

2009-02-15 Thread michael.hess...@googlemail.com
Hi, I'm trying to add a custom view to a custom admin-site instance, as documented there: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-views-to-admin-sites In my rather small example project I've got this custom admin class. It works just fine, I can register ModelAdmins and so

Re: Trouble adding custom view to admin-site instance

2009-02-15 Thread michael.hess...@googlemail.com
well, of course replaced this (r'^my/(.*)', myad.sites.my_site.root), with this (r'^my/', include(myad.sites.my_site.urls)), in urls.py and it works a treat ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: Trouble adding custom view to admin-site instance

2009-02-15 Thread michael.hess...@googlemail.com
;   I've used this for one click emails or custom user reports.  May be > a bit dated but still useful... "Custom Actions In Django Admin Object > Editor" > > Cheers, > > -Paul > > On Feb 15, 7:16 am, "michael.hess...@googlemail.com" > >