Profile for apollonia
| Name | apollonia |
|---|---|
| Email Address | Reveal this emailaddress |
| Posts | 1 |
-
- 2010-07-22 05:56:00
- Re: 'Create It' Link doesn't do anything
- Board » Comments » comment category for "Tutorial (sct)"
-
I'm trying to set up one SCT instance, running a wiki and a blog.
i want the wiki to be accessed by www.mywiki.com and i want the blog to be accessed by www.myblog.com
i've created community groups wiki and blog but can't seem to figure out how to get the middleware and urls to work. honestly, though i've done a couple of django sites, and have some python familiarity, this is a bit confusing to me. could you give me a real-world example?
# You can configure this to make every subdomain refer to it's own community 'Group'
SPH_HOST_MIDDLEWARE_URLCONF_MAP = {
r'^(?P<groupName>\w+).localhost.*$': { 'urlconf': 'urlconfs.community_urls', },
'.*': { 'urlconf': 'urlconfs.community_urls',
'params': { 'groupName': 'example' } },
}


