From d5ddead598f6adb2b4df15df54517bab793171e7 Mon Sep 17 00:00:00 2001 From: Marc Date: Fri, 24 Oct 2014 12:26:24 +0000 Subject: [PATCH] Fixes on tests0 --- orchestra/apps/webapps/admin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orchestra/apps/webapps/admin.py b/orchestra/apps/webapps/admin.py index 8eaca4af..eff61962 100644 --- a/orchestra/apps/webapps/admin.py +++ b/orchestra/apps/webapps/admin.py @@ -41,6 +41,9 @@ class WebAppAdmin(AccountAdminMixin, ExtendedModelAdmin): url = change_url(website) name = "%s on %s" % (website.name, content.path) websites.append('%s' % (url, name)) + add_url = reverse('admin:webapps_website_add') + add_url += '?account=%s' % webapp.account_id + websites.append('%s' % (add_url, _("Add website"))) return '
'.join(websites) display_websites.short_description = _("web sites") display_websites.allow_tags = True