On Jun 28, 2:26 pm, briehan <
briehan.lomba...@gmail.com> wrote:
> We have a custom 'sites framework' implementation that basically
> consists of a Site model and SiteManager. For some reason, when
> running the app, the Site model uses the SiteManager from
> django.contrib.sites instead of our own.
>
> I did the following from within the app:
>
> from myapp.sites.models import Site
> print type(Site.objects)
>
> <class 'django.contrib.sites.models.SiteManager'>
>
> When doing the same from the management shell (./manage.py shell), I
> get the expected output:
>
> >>> from myapp.sites.models import Site
> >>> type(Site.objects)
>
> <class 'myapp.sites.models.SiteManager'>