Re: Trouble adding custom view to admin-site instance

2009-02-15 Thread michael.hess...@googlemail.com
Thanks, I'll have a read On Feb 15, 5:59 pm, pkenjora wrote: > Hi, > >   There is always more than one way to do anything.  For reference you > may be interested in a custom action (not view) approach within > admin... > > http://blog.awarelabs.com/?p=75 > >   I've used this for one click emails

Re: Trouble adding custom view to admin-site instance

2009-02-15 Thread pkenjora
Hi, There is always more than one way to do anything. For reference you may be interested in a custom action (not view) approach within admin... http://blog.awarelabs.com/?p=75 I've used this for one click emails or custom user reports. May be a bit dated but still useful... "Custom Actio

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

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