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
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
; 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"
>
>
3 matches
Mail list logo