Fixing notifications __init__ because it was generating migration problems

remotes/origin/enhancement/email-actions
Alejandro Alonso 2014-10-28 18:05:08 +01:00
parent 9a885eae6a
commit 6b33c30616
12 changed files with 11 additions and 31 deletions

View File

@ -31,7 +31,7 @@ from taiga.base import filters
from taiga.base import exceptions as exc
from taiga.users.models import User
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin
from . import permissions

View File

@ -30,7 +30,7 @@ from taiga.base import tags
from taiga.users.models import User
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.occ import OCCResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin

View File

@ -22,7 +22,7 @@ from django.dispatch import receiver
from django.utils.translation import ugettext_lazy as _
from taiga.projects.occ import OCCModelMixin
from taiga.projects.notifications import WatchedModelMixin
from taiga.projects.notifications.mixins import WatchedModelMixin
from taiga.projects.mixins.blocked import BlockedMixin
from taiga.base.tags import TaggedMixin

View File

@ -25,7 +25,7 @@ from taiga.base import exceptions as exc
from taiga.base.decorators import detail_route
from taiga.base.api import ModelCrudViewSet
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin

View File

@ -22,7 +22,7 @@ from django.core.exceptions import ValidationError
from taiga.base.utils.slug import slugify_uniquely
from taiga.base.utils.dicts import dict_sum
from taiga.projects.notifications import WatchedModelMixin
from taiga.projects.notifications.mixins import WatchedModelMixin
from taiga.projects.userstories.models import UserStory
import itertools

View File

@ -1,20 +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 WatchedResourceMixin
from .mixins import WatchedModelMixin
__all__ = ["WatchedModelMixin", "WatchedResourceMixin"]

View File

@ -22,7 +22,7 @@ from taiga.base.decorators import list_route
from taiga.base.api import ModelCrudViewSet
from taiga.projects.models import Project
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin
from taiga.projects.occ import OCCResourceMixin

View File

@ -21,7 +21,7 @@ from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from taiga.projects.occ import OCCModelMixin
from taiga.projects.notifications import WatchedModelMixin
from taiga.projects.notifications.mixins import WatchedModelMixin
from taiga.projects.mixins.blocked import BlockedMixin
from taiga.base.tags import TaggedMixin

View File

@ -30,7 +30,7 @@ from taiga.base import exceptions as exc
from taiga.base.decorators import list_route
from taiga.base.api import ModelCrudViewSet
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin
from taiga.projects.occ import OCCResourceMixin

View File

@ -21,7 +21,7 @@ from django.utils.translation import ugettext_lazy as _
from django.utils import timezone
from taiga.projects.occ import OCCModelMixin
from taiga.projects.notifications import WatchedModelMixin
from taiga.projects.notifications.mixins import WatchedModelMixin
from taiga.projects.mixins.blocked import BlockedMixin
from taiga.base.tags import TaggedMixin

View File

@ -28,7 +28,7 @@ from taiga.base.decorators import list_route
from taiga.projects.models import Project
from taiga.mdrender.service import render as mdrender
from taiga.projects.notifications import WatchedResourceMixin
from taiga.projects.notifications.mixins import WatchedResourceMixin
from taiga.projects.history.mixins import HistoryResourceMixin
from taiga.projects.occ import OCCResourceMixin

View File

@ -19,7 +19,7 @@ from django.contrib.contenttypes import generic
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils import timezone
from taiga.projects.notifications import WatchedModelMixin
from taiga.projects.notifications.mixins import WatchedModelMixin
from taiga.projects.occ import OCCModelMixin