Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BramMeir committed Mar 6, 2024
1 parent 898219c commit f3593da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from api.views.group_view import GroupViewSet
from api.views.course_view import CourseViewSet
from api.views.submission_view import SubmissionViewSet
from api.views.faculty_view import facultyViewSet
from api.views.faculty_view import FacultyViewSet
from api.views.checks_view import (
ExtraCheckViewSet, FileExtensionViewSet, StructureCheckViewSet
)
Expand All @@ -28,7 +28,7 @@
router.register(r"structure_checks", StructureCheckViewSet, basename="structure_check")
router.register(r"extra_checks", ExtraCheckViewSet, basename="extra_check")
router.register(r"fileExtensions", FileExtensionViewSet, basename="fileExtension")
router.register(r"faculties", facultyViewSet, basename="faculty")
router.register(r"faculties", FacultyViewSet, basename="faculty")

urlpatterns = [
path("", include(router.urls)),
Expand Down
2 changes: 1 addition & 1 deletion backend/api/views/faculty_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
from ..serializers.faculty_serializer import facultySerializer


class facultyViewSet(viewsets.ModelViewSet):
class FacultyViewSet(viewsets.ModelViewSet):
queryset = Faculty.objects.all()
serializer_class = facultySerializer

0 comments on commit f3593da

Please sign in to comment.