On 9/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> objects = CurrentSiteManager()
> site = models.ForeignKey(Site)

Just keep in mind that if you want to share an instance of the admin
across multiple sites *and* use the CurrentSiteManager, you need to do
this:

objects = models.Manager()
on_site = CurrentSiteManager()

Otherwise, the admin will only be able to show objects for the site
that's hosting it.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to