- 좋아요 기능
- 댓글 달기, 수정, 삭제
- 신청하기 기능
- 신청취소 기능
Pycharm을 이용한 Django Project 초기 셋팅
가상환경 설정 및 django 설치
- python -m venv venv
- source venv/Scripts/activate
- python -m pip install django
- python -m djagno startapp config .
- python manage.py migrate
- python manage.py createsuperuser
pycharm 환경설정
- Settings - Pyton Interpreter - 현재 가상환경 python
- Settings - Languages & Framework - Enable Djnago
- .gitignore 생성
black 설치 및 적용
- python -m pip install black
- which black -> 경로 복사
- Settings - File Watchers - Program에 black 경로 붙여넣기. Arguments에는 FilePath, Output path, Working directory는 ProjectFileDir. Advanced Options는 모두 해제
Git 연동
- git repository 생성
- git remote add origin <깃 주소>
- 커밋하고 푸시