nephila / djangocms-multisite

django-multisite support for DjangoCMS
BSD 3-Clause "New" or "Revised" License
26 stars 19 forks source link

MULTISITE_CMS_URLS used in the first migration #23

Open lcfd opened 5 years ago

lcfd commented 5 years ago

enhancement proposal

If there are no sites in Home › Sites › Sites or there's only example.com during the initial migration insert the values in MULTISITE_CMS_URLS as the starting Sites .

I find this useful in the deploy phase.

yakky commented 5 years ago

I would prefer an explicit (and documented) management command to handle this. I don't like data creation by "automagic" I'm :+1: on adding a command

lcfd commented 5 years ago

Explicit is better than implicit. they said :)

A command is a good idea, but I also suggest to add a warning somewhere, because is the error is a little bit cufusing