Revision fe3806c9
Added by Frédéric Péters almost 13 years ago
| wcsinst/wcsinstd/deploy.py | ||
|---|---|---|
|
self.skel_dir = os.path.join(settings.MEDIA_ROOT, 'skeletons', self.skeleton)
|
||
|
|
||
|
url_template = app_settings.URL_TEMPLATE
|
||
|
self.url = url_template % {'domain': self.domain}
|
||
|
self.url = str(url_template % {'domain': self.domain})
|
||
|
|
||
|
host, path = urlparse(self.url)[1:3]
|
||
|
if path.endswith('/'):
|
||
| ... | ... | |
|
wcs_cfg['sp'] = {
|
||
|
'common_domain': None,
|
||
|
'common_domain_getter_url': None,
|
||
|
'organization_name': '%s' % self.title,
|
||
|
'organization_name': self.title.encode('utf-8'),
|
||
|
'privatekey': 'private-key.pem',
|
||
|
'publickey': 'public-key.pem'}
|
||
|
wcs_cfg['sp'].update(service_provider_configuration)
|
||
Also available in: Unified diff
wcsinstd: make sure wcs do not get unicode strings