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