diff --git a/ietf/settings.py b/ietf/settings.py index 1f135c9b0..e752845f6 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -860,8 +860,8 @@ TRAC_CREATE_GROUP_TYPES = ['wg', 'rg', 'area', 'team', 'dir', 'ag', ] TRAC_CREATE_GROUP_STATES = ['bof', 'active', ] TRAC_CREATE_GROUP_ACRONYMS = ['iesg', 'iaoc', 'ietf', ] TRAC_CREATE_ADHOC_WIKIS = [ - # admin group, name, path - ('iesg', 'Meeting', TRAC_WIKI_DIR_PATTERN % "ietf/meeting"), + # admin group, name, sub-path + ('iesg', 'Meeting', "ietf/meeting"), ] SVN_PACKAGES = [ diff --git a/ietf/utils/management/commands/create_group_wikis.py b/ietf/utils/management/commands/create_group_wikis.py index 6428f3a97..d150bec26 100644 --- a/ietf/utils/management/commands/create_group_wikis.py +++ b/ietf/utils/management/commands/create_group_wikis.py @@ -378,6 +378,8 @@ class Command(BaseCommand): for acronym, name, path in settings.TRAC_CREATE_ADHOC_WIKIS: try: self.note("Processing wiki '%s'" % name) + if not os.path.isabs(path): + path = self.wiki_dir_pattern % path if not os.path.exists(path): trac_env, msg = self.create_adhoc_trac(name, path)