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 define it to None, or something like
that, in order to cancel its registration.
What do you think about ? If I can do like this, any snippet of python
would be useful! Otherwhise I'm open to every solution!
Best

On Aug 24, 1:25 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> 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 command-line 'pydoc
> django.contrib.admin.sites.AdminSite')
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to