|
27 | 27 | from .views.sex_at_birth import sex_at_birth |
28 | 28 | from .views.gender import gender |
29 | 29 | from .views.ethnicity import ethnicity |
30 | | -from .views.education import education |
31 | | -from .views.respiratory_conditions import respiratory_conditions |
32 | | -from .views.asbestos_exposure import asbestos_exposure |
33 | | -from .views.cancer_diagnosis import cancer_diagnosis |
34 | | -from .views.family_history_lung_cancer import family_history_lung_cancer |
| 30 | +from .views.education import EducationView |
| 31 | +from .views.respiratory_conditions import RespiratoryConditionsView |
| 32 | +from .views.asbestos_exposure import AsbestosExposureView |
| 33 | +from .views.cancer_diagnosis import CancerDiagnosisView |
| 34 | +from .views.family_history_lung_cancer import FamilyHistoryLungCancerView |
35 | 35 |
|
36 | 36 | urlpatterns = [ |
37 | 37 | path('start', start, name='start'), |
|
42 | 42 | path('sex-at-birth', sex_at_birth, name='sex_at_birth'), |
43 | 43 | path('gender', gender, name='gender'), |
44 | 44 | path('ethnicity', ethnicity, name='ethnicity'), |
45 | | - path('education', education, name='education'), |
46 | | - path('respiratory-conditions', respiratory_conditions, name='respiratory_conditions'), |
47 | | - path('asbestos-exposure', asbestos_exposure, name='asbestos_exposure'), |
48 | | - path('cancer-diagnosis', cancer_diagnosis, name='cancer_diagnosis'), |
49 | | - path('family-history-lung-cancer', family_history_lung_cancer, name='family_history_lung_cancer'), |
| 45 | + path('education', EducationView.as_view(), name='education'), |
| 46 | + path('respiratory-conditions', RespiratoryConditionsView.as_view(), name='respiratory_conditions'), |
| 47 | + path('asbestos-exposure', AsbestosExposureView.as_view(), name='asbestos_exposure'), |
| 48 | + path('cancer-diagnosis', CancerDiagnosisView.as_view(), name='cancer_diagnosis'), |
| 49 | + path('family-history-lung-cancer', FamilyHistoryLungCancerView.as_view(), name='family_history_lung_cancer'), |
50 | 50 | path('responses', responses, name='responses'), |
51 | 51 | path('age-range-exit', age_range_exit, name='age_range_exit'), |
52 | 52 | path('non-smoker-exit', non_smoker_exit, name='non_smoker_exit'), |
|
0 commit comments