On zondag 10 juni 2018 22:54:10 CEST Joakim Hove wrote: > > > It is the default hostname for django.contrib.sites > > > > <https://github.com/django/django/blob/master/django/contrib/sites/managem > > ent.py#L28> with SITE_ID = 1. > > OK - so that might be a smoking gun that I have not configured the "sites" > model correctly? I have so far not really related to the "sites" > functionality at all.
It's enabled by default. And from the admin you can edit that hostname and add more sites. Because Django supports multiple sites with a single admin, it generates fully qualified URLs for the "view on site" functionality, if django.contrib.sites is in INSTALLED_APPS. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1591437.ilrU06Q2TX%40fritzbook. For more options, visit https://groups.google.com/d/optout.

