diff --git a/taiga/projects/attachments/api.py b/taiga/projects/attachments/api.py index 71519bae..a093b0bf 100644 --- a/taiga/projects/attachments/api.py +++ b/taiga/projects/attachments/api.py @@ -32,7 +32,7 @@ from taiga.base import exceptions as exc from taiga.users.models import User from taiga.projects.notifications import WatchedResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from . import permissions from . import serializers diff --git a/taiga/projects/history/__init__.py b/taiga/projects/history/__init__.py index c77c4832..e69de29b 100644 --- a/taiga/projects/history/__init__.py +++ b/taiga/projects/history/__init__.py @@ -1,19 +0,0 @@ -# Copyright (C) 2014 Andrey Antukh -# Copyright (C) 2014 Jesús Espino -# Copyright (C) 2014 David Barragán -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -from .mixins import HistoryResourceMixin - -__all__ = ["HistoryResourceMixin"] diff --git a/taiga/projects/issues/api.py b/taiga/projects/issues/api.py index 661925d6..e4701fd9 100644 --- a/taiga/projects/issues/api.py +++ b/taiga/projects/issues/api.py @@ -32,7 +32,7 @@ from taiga.users.models import User from taiga.projects.notifications import WatchedResourceMixin from taiga.projects.occ import OCCResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from taiga.projects.models import Project from taiga.projects.votes.utils import attach_votescount_to_queryset diff --git a/taiga/projects/milestones/api.py b/taiga/projects/milestones/api.py index 501af3bb..2d3a3e50 100644 --- a/taiga/projects/milestones/api.py +++ b/taiga/projects/milestones/api.py @@ -26,7 +26,7 @@ from taiga.base.decorators import detail_route from taiga.base.api import ModelCrudViewSet from taiga.projects.notifications import WatchedResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from . import serializers diff --git a/taiga/projects/tasks/api.py b/taiga/projects/tasks/api.py index 9e9d1a3f..dfb3c553 100644 --- a/taiga/projects/tasks/api.py +++ b/taiga/projects/tasks/api.py @@ -23,7 +23,7 @@ from taiga.base.api import ModelCrudViewSet from taiga.projects.models import Project from taiga.projects.notifications import WatchedResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from taiga.projects.occ import OCCResourceMixin diff --git a/taiga/projects/userstories/api.py b/taiga/projects/userstories/api.py index 94a15cdc..0056e704 100644 --- a/taiga/projects/userstories/api.py +++ b/taiga/projects/userstories/api.py @@ -27,7 +27,7 @@ from taiga.base.decorators import list_route from taiga.base.api import ModelCrudViewSet from taiga.projects.notifications import WatchedResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from taiga.projects.occ import OCCResourceMixin from taiga.projects.models import Project, UserStoryStatus diff --git a/taiga/projects/wiki/api.py b/taiga/projects/wiki/api.py index d96e94ea..6942e628 100644 --- a/taiga/projects/wiki/api.py +++ b/taiga/projects/wiki/api.py @@ -29,7 +29,7 @@ from taiga.projects.models import Project from taiga.mdrender.service import render as mdrender from taiga.projects.notifications import WatchedResourceMixin -from taiga.projects.history import HistoryResourceMixin +from taiga.projects.history.mixins import HistoryResourceMixin from taiga.projects.occ import OCCResourceMixin