Skip to content

A working example #26

@pobrejuanito

Description

@pobrejuanito

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions