This may be a basic question, but it puzzles me and I couldn't find an answer on the web. In my Wagtail admin I see a menu entry 'Sites' with (in my case) one item, in which I can configure a host name, a port, a site name, a Wagtail root page and a boolean 'is default site'. When I log in to django-admin (for the same project obviously) I see a menu entry 'Sites' with one item, with only two fields: domain name, display name. Changing it in one admin doesn't seem to change anything in the other. E.g. I needed to change the domain name (default in Django 'example.com') but couldn't find that in Wagtail admin.
Are the two related in some way, and if so, why don't I see the same fields on both admins? Am I missing something obvious?
While both Wagtail and Django have a framework approach to a Site
, they are actually different things, with different database models and usage.
Page
model is related to one Site
only, this being a Wagtail site, but Image
is not related to a Site
and hence can easily be shared across multiple sites.SiteMiddleware
was used.