From 7fbeb668da954bdc2636cac76fa4aa5ce4c1ba06 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 26 Jan 2015 21:36:24 +0100 Subject: [PATCH] add wildcard parameter to create_web_vhost_config task --- gnuviechadmin/webtasks/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnuviechadmin/webtasks/tasks.py b/gnuviechadmin/webtasks/tasks.py index 4f2cea3..e7e1bf9 100644 --- a/gnuviechadmin/webtasks/tasks.py +++ b/gnuviechadmin/webtasks/tasks.py @@ -8,13 +8,15 @@ from celery import shared_task @shared_task -def create_web_vhost_config(username, sitename): +def create_web_vhost_config(username, sitename, wildcard): """ This task creates a virtual host configuration on an nginx web server. :param str username: user who owns the site :param str sitename: site name + :param boolean wildcard: designates whether this is website has a wildcard + subdomain :return: :py:const:`True` if the creation finished successfully :rtype: boolean