diff --git a/src/proxy/gitlab/views.py b/src/proxy/gitlab/views.py index 718d5e4..c09c19c 100644 --- a/src/proxy/gitlab/views.py +++ b/src/proxy/gitlab/views.py @@ -5,5 +5,5 @@ from ..utils.views import ColabProxyView class GitlabProxyView(ColabProxyView): - upstream = settings.COLAB_GITLAB_URL + upstream = settings.PROXIED_APPS['gitlab']['upstream'] diazo_theme_template = 'proxy/gitlab.html' diff --git a/src/proxy/jenkins/views.py b/src/proxy/jenkins/views.py index 8f67005..079fc8b 100644 --- a/src/proxy/jenkins/views.py +++ b/src/proxy/jenkins/views.py @@ -5,4 +5,4 @@ from ..utils.views import ColabProxyView class JenkinsProxyView(ColabProxyView): - upstream = settings.COLAB_CI_URL + upstream = settings.PROXIED_APPS['jenkins']['upstream'] diff --git a/src/proxy/redmine/views.py b/src/proxy/redmine/views.py index cb2ac6a..5899440 100644 --- a/src/proxy/redmine/views.py +++ b/src/proxy/redmine/views.py @@ -5,5 +5,5 @@ from ..utils.views import ColabProxyView class RedmineProxyView(ColabProxyView): - upstream = settings.COLAB_REDMINE_URL + upstream = settings.PROXIED_APPS['redmine']['upstream'] diazo_theme_template = 'proxy/redmine.html' diff --git a/src/proxy/trac/views.py b/src/proxy/trac/views.py index fab86e5..5ccdc85 100644 --- a/src/proxy/trac/views.py +++ b/src/proxy/trac/views.py @@ -8,7 +8,7 @@ from .models import Wiki, Ticket, Revision class TracProxyView(HitCounterViewMixin, ColabProxyView): - upstream = settings.COLAB_TRAC_URL + upstream = settings.PROXIED_APPS['trac']['upstream'] diazo_theme_template = 'proxy/trac.html' def get_object(self): -- libgit2 0.21.2