"View on Site" for instance with Many-To-Many relation to the Site model

2010-06-29 Thread Sam
Hello, I'm using a model with a many to many relationship to Site. I noticed that the redirect from the admin site (the link "View on Site") is to a domain that is not associated with the current SITE_ID. in other words I have two sites, "devel.domain.com" and "www.domain.com." When I select "View

Re: "View on Site" for instance with Many-To-Many relation to the Site model

2010-06-30 Thread Sam
tl;dr version: admin "view on site" link returns the first Site associated with a model, rather than the current Site. Is this correct? It seems that it should return the current site (if it is picking one arbitrarily) -Sam On Jun 29, 11:19 pm, Sam wrote: > Hello, > > I'm using a model with a m