Skip to content

Conversation

@TeaCat-Develop
Copy link
Collaborator

✅ PR 요약

  • 작업 요약: spec을 위한 스터디그룹 관련 시리얼라이저 및 뷰셋 추가, 모델 필드명 소폭 수정

📄 상세 내용

  • 시리얼라이저 추가 (StudyGroupSerializer StudyGroupDetailSerializer)
  • spec 뷰셋 추가 @extend_schema_view (create, list, retrieve, update(+partial_update), destroy)
  • StudyLecture 모델 FK필드 필드명에서 _id 제거
  • makemigrations+migrate

📝 기타 참고 사항

  • response 에러코드 관련 공통 모듈 확인되지 않아 OpenApiTypes.OBJECT 사용

  • user 관련 참조에서도 동일한 MyPy 오류 발견하여 함께 수정함.

  • apps/chat/services/chatroom_service.py 파일 내 참조 user_id에서 user으로만 수정.

  • 기타 모델 마이그레이션 파일 중 생성 후 migrate 적용되지 않은 파일 2개 확인됨.

🧪 PR Checklist

  • 커밋 메시지 컨벤션에 맞게 작성했습니다.
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

models,serializers,views 디렉토리 내 __init__.py 정리
config/urls에 추가
apps/study_groups/urls에 추가
그룹멤버, 스터디강의 등의 필드명이 ForeignKey를 사용함에도 _id를 붙이며 몇몇 외래키 관련 필드명 참조 시 오류 발생.
mypy 참조 오류 등 혼동이 있으므로, 관련 모델 수정 및 마이그레이션
관련하여 오류 발생하는 부분(chatroom,study_group) 함께 수정
@Meoyoug Meoyoug closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants