mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 11:04:20 +00:00
pedagogy: rename TeachingDepartment into EducationDepartment
This commit is contained in:
parent
17a375f89c
commit
36831b4f4a
@ -51,9 +51,9 @@ class UVCommentReport(models.Model):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TeachingDepartment(models.Model):
|
class EducationDepartment(models.Model):
|
||||||
"""
|
"""
|
||||||
Teaching department of the school
|
Education department of the school
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
@ -61,7 +61,7 @@ class TeachingDepartment(models.Model):
|
|||||||
|
|
||||||
class Study(models.Model):
|
class Study(models.Model):
|
||||||
"""
|
"""
|
||||||
Speciality inside a Teaching Department
|
Speciality inside an Education Department
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
@ -45,12 +45,12 @@ urlpatterns = [
|
|||||||
url(r"^uv/(?P<uv_id>[0-9]+)/delete$", UVDeleteView.as_view(), name="uv_delete"),
|
url(r"^uv/(?P<uv_id>[0-9]+)/delete$", UVDeleteView.as_view(), name="uv_delete"),
|
||||||
url(
|
url(
|
||||||
r"^department/create$",
|
r"^department/create$",
|
||||||
TeachingDepartmentCreateView.as_view(),
|
EducationDepartmentCreateView.as_view(),
|
||||||
name="department_create",
|
name="department_create",
|
||||||
),
|
),
|
||||||
url(
|
url(
|
||||||
r"^department/(?P<department_id>[0-9]+)/delete$",
|
r"^department/(?P<department_id>[0-9]+)/delete$",
|
||||||
TeachingDepartmentDeleteView.as_view(),
|
EducationDepartmentDeleteView.as_view(),
|
||||||
name="department_delete",
|
name="department_delete",
|
||||||
),
|
),
|
||||||
url(r"^study/create$", StudyCreateView.as_view(), name="study_create"),
|
url(r"^study/create$", StudyCreateView.as_view(), name="study_create"),
|
||||||
|
@ -92,17 +92,17 @@ class UVDeleteView(DeleteView):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TeachingDepartmentCreateView(CreateView):
|
class EducationDepartmentCreateView(CreateView):
|
||||||
"""
|
"""
|
||||||
Add a new TeachingDepartment (Privileged)
|
Add a new Education Department (Privileged)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TeachingDepartmentDeleteView(DeleteView):
|
class EducationDepartmentDeleteView(DeleteView):
|
||||||
"""
|
"""
|
||||||
Allow to delete an TeachingDepartment (Privileged)
|
Allow to delete an Education Department (Privileged)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user