diff --git a/taiga/base/domains/__init__.py b/taiga/base/domains/__init__.py index 78816b6f..2750719d 100644 --- a/taiga/base/domains/__init__.py +++ b/taiga/base/domains/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from .base import get_default_domain from .base import get_domain_for_domain_name from .base import activate diff --git a/taiga/base/domains/admin.py b/taiga/base/domains/admin.py index d90935f8..32da3519 100644 --- a/taiga/base/domains/admin.py +++ b/taiga/base/domains/admin.py @@ -1,3 +1,17 @@ +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django.contrib import admin from .models import Domain, DomainMember diff --git a/taiga/base/domains/api.py b/taiga/base/domains/api.py index 3a2853b2..174e6dc4 100644 --- a/taiga/base/domains/api.py +++ b/taiga/base/domains/api.py @@ -1,4 +1,16 @@ -# -*- coding: utf-8 -*- +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from rest_framework import viewsets from rest_framework.response import Response diff --git a/taiga/base/domains/middleware.py b/taiga/base/domains/middleware.py index d6f3b197..29dfacb4 100644 --- a/taiga/base/domains/middleware.py +++ b/taiga/base/domains/middleware.py @@ -1,3 +1,17 @@ +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import json from django import http diff --git a/taiga/base/domains/models.py b/taiga/base/domains/models.py index eabce8d4..211eed1c 100644 --- a/taiga/base/domains/models.py +++ b/taiga/base/domains/models.py @@ -1,4 +1,16 @@ -# -*- coding: utf-8 -*- +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import string diff --git a/taiga/base/domains/permissions.py b/taiga/base/domains/permissions.py index d6a0d752..89af16d3 100644 --- a/taiga/base/domains/permissions.py +++ b/taiga/base/domains/permissions.py @@ -1,3 +1,17 @@ +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from rest_framework import permissions from taiga.base.domains.models import DomainMember diff --git a/taiga/base/domains/serializers.py b/taiga/base/domains/serializers.py index 5976f3da..51ff718c 100644 --- a/taiga/base/domains/serializers.py +++ b/taiga/base/domains/serializers.py @@ -1,4 +1,16 @@ -# -*- coding: utf-8 -*- +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. from rest_framework import serializers from taiga.base.users.serializers import UserSerializer diff --git a/taiga/base/domains/tests.py b/taiga/base/domains/tests.py index 0281b99c..a20d8724 100644 --- a/taiga/base/domains/tests.py +++ b/taiga/base/domains/tests.py @@ -1,3 +1,17 @@ +# Copyright 2014 Andrey Antukh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# y ou may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django import test from django.test.utils import override_settings from django.core.exceptions import ImproperlyConfigured @@ -9,7 +23,6 @@ from .models import Domain from .middleware import DomainsMiddleware - class DomainCoreTests(test.TestCase): fixtures = ["initial_domains.json"]