Re: unregister in old versions of django

2008-08-24 Thread aleray
Ok, I was affraid of this. Now, I think I will attach a little javascript code to hide what I don't want to see in the admin interface. That's my best option. Thank you very much for helping. Best On Aug 24, 2:01 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, Aug 24, 2008 at 6:40 AM,

Re: unregister in old versions of django

2008-08-24 Thread James Bennett
On Sun, Aug 24, 2008 at 6:23 AM, James Bennett <[EMAIL PROTECTED]> wrote: > Which shows you full API documentation for the AdminSite class, > listing all of its methods and what they do, including this one: (and of course if you have DJANGO_SETTINGS_MODULE set properly, there's also the

Re: unregister in old versions of django

2008-08-24 Thread James Bennett
On Sun, Aug 24, 2008 at 6:40 AM, aleray <[EMAIL PROTECTED]> wrote: > Thanks for the tip, I often forgot the existence of python doc! > However the thing is in the version of django I'm using there is not > admin.site, so no API to unregister. Like I said, the models are > registered with the old

Re: unregister in old versions of django

2008-08-24 Thread aleray
Thanks for the tip, I often forgot the existence of python doc! However the thing is in the version of django I'm using there is not admin.site, so no API to unregister. Like I said, the models are registered with the old fashioned class admin. Then I thought I could override that class Admin to

Re: unregister in old versions of django

2008-08-24 Thread James Bennett
On Sun, Aug 24, 2008 at 5:04 AM, aleray <[EMAIL PROTECTED]> wrote: > Really no idea ? Well, you could always do the following: >>> from django.contrib import admin >>> help(admin.site) Which shows you full API documentation for the AdminSite class, listing all of its methods and what they do,

Re: unregister in old versions of django

2008-08-24 Thread aleray
Really no idea ? On Aug 22, 11:01 pm, aleray <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working with django revision 7513 and satchmo 0.7 because I heard > they were doing nice job together. Howerver I would like to unregister > some models in the admin interface, but I can't (and don't want to) >

unregister in old versions of django

2008-08-22 Thread aleray
Hi, I'm working with django revision 7513 and satchmo 0.7 because I heard they were doing nice job together. Howerver I would like to unregister some models in the admin interface, but I can't (and don't want to) touch to satchmo code. In satchmo 0.7.0, the models are registered with the admin