Verified Commit 57f2a5c2 authored by Sli's avatar Sli
Browse files

pedagogy: rename Study into StudyField

parent 36831b4f
......@@ -59,7 +59,7 @@ class EducationDepartment(models.Model):
pass
class Study(models.Model):
class StudyField(models.Model):
"""
Speciality inside an Education Department
"""
......
......@@ -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<study_id>[0-9]+)/delete$",
StudyDeleteView.as_view(),
StudyFieldDeleteView.as_view(),
name="study_delete",
),
]
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment