mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
pedagogy: rename Study into StudyField
This commit is contained in:
parent
36831b4f4a
commit
57f2a5c260
@ -59,7 +59,7 @@ class EducationDepartment(models.Model):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Study(models.Model):
|
class StudyField(models.Model):
|
||||||
"""
|
"""
|
||||||
Speciality inside an Education Department
|
Speciality inside an Education Department
|
||||||
"""
|
"""
|
||||||
|
@ -53,10 +53,10 @@ urlpatterns = [
|
|||||||
EducationDepartmentDeleteView.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$", StudyFieldCreateView.as_view(), name="study_create"),
|
||||||
url(
|
url(
|
||||||
r"^study/(?P<study_id>[0-9]+)/delete$",
|
r"^study/(?P<study_id>[0-9]+)/delete$",
|
||||||
StudyDeleteView.as_view(),
|
StudyFieldDeleteView.as_view(),
|
||||||
name="study_delete",
|
name="study_delete",
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -108,17 +108,17 @@ class EducationDepartmentDeleteView(DeleteView):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class StudyCreateView(CreateView):
|
class StudyFieldCreateView(CreateView):
|
||||||
"""
|
"""
|
||||||
Add a new Study (Privileged)
|
Add a new Study Field (Privileged)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class StudyDeleteView(DeleteView):
|
class StudyFieldDeleteView(DeleteView):
|
||||||
"""
|
"""
|
||||||
Allow to delete an Study (Privileged)
|
Allow to delete an Study Field (Privileged)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user