Fix HistoryResourceMixin class import.

remotes/origin/enhancement/email-actions
Andrey Antukh 2014-09-03 14:53:54 +02:00
parent 1dc23c13f0
commit ad7b231945
7 changed files with 6 additions and 25 deletions

View File

@ -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

View File

@ -1,19 +0,0 @@
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán <bameda@dbarragan.com>
# 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 <http://www.gnu.org/licenses/>.
from .mixins import HistoryResourceMixin
__all__ = ["HistoryResourceMixin"]

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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