Commit
54b6287bb32fcbfb75279050d8c0962d01b457da
Exists in
master
and in
13 other branches
Validation_colab_sprint_30, check-port, generic-plugins, header_footer, mezuro-integration, move_out_plugins, plugin_extra_configs, proxy_base_template, proxy_hotspot, spb-release/3.0, stable, test, trac_indexing
Breaking utils into files
|
1
| |
1
| |
|
2
| from django.conf import settings |
2
| from django.conf import settings |
|
3
| |
3
| |
|
4
| -from ..utils import ColabProxyView |
4
| +from ..utils.views import ColabProxyView |
|
5
| |
5
| |
|
6
| |
6
| |
|
7
| class GitlabProxyView(ColabProxyView): |
7
| class GitlabProxyView(ColabProxyView): |
|
1
| |
1
| |
|
2
| from django.conf import settings |
2
| from django.conf import settings |
|
3
| |
3
| |
|
4
| -from ..utils import ColabProxyView |
4
| +from ..utils.views import ColabProxyView |
|
5
| |
5
| |
|
6
| |
6
| |
|
7
| class JenkinsProxyView(ColabProxyView): |
7
| class JenkinsProxyView(ColabProxyView): |
|
1
| |
1
| |
|
2
| from django.conf import settings |
2
| from django.conf import settings |
|
3
| |
3
| |
|
4
| -from ..utils import ColabProxyView |
4
| +from ..utils.views import ColabProxyView |
|
5
| |
5
| |
|
6
| |
6
| |
|
7
| class RedmineProxyView(ColabProxyView): |
7
| class RedmineProxyView(ColabProxyView): |
|
| @@ -3,7 +3,7 @@ from django.conf import settings |
| @@ -3,7 +3,7 @@ from django.conf import settings |
|
3
| |
3
| |
|
4
| from hitcounter.views import HitCounterViewMixin |
4
| from hitcounter.views import HitCounterViewMixin |
|
5
| |
5
| |
|
6
| -from ..utils import ColabProxyView |
6
| +from ..utils.views import ColabProxyView |
|
7
| from .models import Wiki, Ticket, Revision |
7
| from .models import Wiki, Ticket, Revision |
|
8
| |
8
| |
|
9
| |
9
| |
|
| @@ -1,10 +0,0 @@ |
| @@ -1,10 +0,0 @@ |
|
1
| - |
| |
|
2
| -from django.conf import settings |
| |
|
3
| - |
| |
|
4
| -from revproxy.views import ProxyView |
| |
|
5
| - |
| |
|
6
| - |
| |
|
7
| -class ColabProxyView(ProxyView): |
| |
|
8
| - add_remote_user = settings.REVPROXY_ADD_REMOTE_USER |
| |
|
9
| - diazo_theme_template = 'base.html' |
| |
|
10
| - html5 = True |
| |
|
| @@ -0,0 +1,10 @@ |
| @@ -0,0 +1,10 @@ |
|
| |
1
| + |
|
| |
2
| +from django.conf import settings |
|
| |
3
| + |
|
| |
4
| +from revproxy.views import ProxyView |
|
| |
5
| + |
|
| |
6
| + |
|
| |
7
| +class ColabProxyView(ProxyView): |
|
| |
8
| + add_remote_user = settings.REVPROXY_ADD_REMOTE_USER |
|
| |
9
| + diazo_theme_template = 'base.html' |
|
| |
10
| + html5 = True |