diff --git a/pedagogy/models.py b/pedagogy/models.py index 40efaa59..c6a29816 100644 --- a/pedagogy/models.py +++ b/pedagogy/models.py @@ -59,7 +59,7 @@ class EducationDepartment(models.Model): pass -class Study(models.Model): +class StudyField(models.Model): """ Speciality inside an Education Department """ diff --git a/pedagogy/urls.py b/pedagogy/urls.py index a853cb7d..2a7c4990 100644 --- a/pedagogy/urls.py +++ b/pedagogy/urls.py @@ -53,10 +53,10 @@ urlpatterns = [ EducationDepartmentDeleteView.as_view(), name="department_delete", ), - url(r"^study/create$", StudyCreateView.as_view(), name="study_create"), + url(r"^study/create$", StudyFieldCreateView.as_view(), name="study_create"), url( r"^study/(?P[0-9]+)/delete$", - StudyDeleteView.as_view(), + StudyFieldDeleteView.as_view(), name="study_delete", ), ] diff --git a/pedagogy/views.py b/pedagogy/views.py index 7e15e3c3..41cd6c08 100644 --- a/pedagogy/views.py +++ b/pedagogy/views.py @@ -108,17 +108,17 @@ class EducationDepartmentDeleteView(DeleteView): pass -class StudyCreateView(CreateView): +class StudyFieldCreateView(CreateView): """ - Add a new Study (Privileged) + Add a new Study Field (Privileged) """ pass -class StudyDeleteView(DeleteView): +class StudyFieldDeleteView(DeleteView): """ - Allow to delete an Study (Privileged) + Allow to delete an Study Field (Privileged) """ pass