.
This commit is contained in:
+17
-1
@@ -40,6 +40,7 @@ from .forms import (
|
||||
from .models import (
|
||||
Case,
|
||||
Condition,
|
||||
PathalogicalProcess,
|
||||
Presentation,
|
||||
Series,
|
||||
Examination,
|
||||
@@ -49,11 +50,13 @@ from .models import (
|
||||
SeriesFinding,
|
||||
SeriesImage,
|
||||
)
|
||||
from .tables import CaseTable, ConditionTable, FindingTable, SeriesTable, StructureTable
|
||||
from .tables import CaseTable, ConditionTable, FindingTable, PathologicalProcessTable, PresentationTable, SeriesTable, StructureTable
|
||||
from .filters import (
|
||||
CaseFilter,
|
||||
ConditionFilter,
|
||||
FindingFilter,
|
||||
PathologicalProcessFilter,
|
||||
PresentationFilter,
|
||||
SeriesFilter,
|
||||
StructureFilter,
|
||||
)
|
||||
@@ -609,6 +612,19 @@ class ConditionView(LoginRequiredMixin, SingleTableMixin, FilterView):
|
||||
|
||||
filterset_class = ConditionFilter
|
||||
|
||||
class PresentationView(LoginRequiredMixin, SingleTableMixin, FilterView):
|
||||
model = Presentation
|
||||
table_class = PresentationTable
|
||||
template_name = "atlas/view.html"
|
||||
|
||||
filterset_class = PresentationFilter
|
||||
|
||||
class PathologicalProcessView(LoginRequiredMixin, SingleTableMixin, FilterView):
|
||||
model = PathalogicalProcess
|
||||
table_class = PathologicalProcessTable
|
||||
template_name = "atlas/view.html"
|
||||
|
||||
filterset_class = PathologicalProcessFilter
|
||||
|
||||
class StructureView(LoginRequiredMixin, SingleTableMixin, FilterView):
|
||||
model = Structure
|
||||
|
||||
Reference in New Issue
Block a user