Skip to content

Commit

Permalink
change python paths within paths to not import from the module
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Nov 15, 2017
1 parent b31476a commit a32ad6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion opal/core/pathway/api.py
@@ -1,6 +1,6 @@
from rest_framework import viewsets
from opal.core.views import _get_request_data, json_response
from opal.core.pathway import Pathway
from opal.core.pathway.pathways import Pathway
from rest_framework.permissions import IsAuthenticated
from opal.models import Patient, Episode

Expand Down
2 changes: 1 addition & 1 deletion opal/core/pathway/pathways.py
Expand Up @@ -9,7 +9,7 @@
from opal.models import Patient
from opal.utils import AbstractBase
from opal.core.views import OpalSerializer
from opal.core.pathway import Step
from opal.core.pathway.steps import Step


class RedirectsToPatientMixin(object):
Expand Down
2 changes: 1 addition & 1 deletion opal/core/pathway/tests/test_pathways.py
@@ -1,6 +1,5 @@
import mock
import json
import datetime

from opal.core.exceptions import InitializationError
from django.utils import timezone
Expand Down Expand Up @@ -31,6 +30,7 @@ class PathwayExample(pathways.Pathway):
Step(model=DogOwner),
)


class ColourPathway(Pathway):
display_name = "colour"
icon = "fa fa-something"
Expand Down
2 changes: 1 addition & 1 deletion opal/core/pathway/views.py
Expand Up @@ -2,7 +2,7 @@
Views for the pathway OPAL Plugin
"""
from django.views.generic import TemplateView
from opal.core.pathway import Pathway
from opal.core.pathway.pathways import Pathway
from opal.core.views import LoginRequiredMixin


Expand Down

0 comments on commit a32ad6e

Please sign in to comment.