nephila / djangocms-multisite

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

A working example #26

Open pobrejuanito opened 4 years ago

pobrejuanito commented 4 years ago

Hi,

I am trying to get oriented with this module and get basic setup working. I have djangocms working, but I can't get it to work with djangocms-multisite.

After following readme, I am currently having trouble accessing django-cms admin. I get django "Page not found (404 ) message"

http://www.mysite1.com.lan:8000/admin

settings.py

MULTISITE_CMS_URLS={
    'www.mysite1.com.lan': 'mycms.urls',
    'www.mysite2.com.lan': 'mycms.urls',
}

MULTISITE_CMS_FALLBACK='www.mysite1.com.lan'

mycms.url

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^', include('cms.urls')),
]

I know i am missing something. Is there a working example somewhere with few sites that I can study?

xpostudio4 commented 1 year ago

The same is happening to me after one update, were you able to solve it in anyway @pobrejuanito ?