본문 바로가기

데이터 분석 기술 블로그

검색하기
데이터 분석 기술 블로그
프로필사진 데이터분석가 이채은

  • 분류 전체보기 (422) N
    • SQL (155)
      • 문제풀이 (93)
      • 개념 (62)
    • 데이터 분석 (29)
      • Python (5)
      • R (0)
      • Tableau (10)
      • 개념 (5)
    • 데이터 사이언스 (152)
      • 자료구조 (7)
      • 알고리즘 (66)
      • 수리 통계학 (59)
      • 선형대수학 (20)
    • SW (84)
      • DB (27)
      • 백엔드 (40)
      • 프론트엔드 (17)
    • Illustrator & Photoshop (1)
    • 간호학과 (0)
Guestbook
Tags
  • outer join
  • regexp
  • M:N
  • DB
  • migrations
  • 백트래킹
  • 쟝고
  • 트리
  • Vue
  • Django
  • drf
  • stack
  • N:1
  • Tree
  • 뷰
  • 그리디
  • 통계학
  • delete
  • 큐
  • Article & User
  • 완전검색
  • update
  • 스택
  • count
  • Queue
  • 이진트리
  • ORM
  • create
  • distinct
  • SQL
more
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Notice
Recent Posts
Link
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록댓글 DELETE (1)

데이터 분석 기술 블로그

DB에 대하여(6)_댓글 READ & DELETE (feat. Django)

1. 댓글 READ 구현 detail view 함수에서 전체 댓글 데이터를 조회 # articles/views.py from .models import Article, Comment def detail(request, pk): article = Article.objects.get(pk=pk) comment_form = CommentForm() comments = article.comment_set.all() context = { 'article': article, 'comment_form': comment_form, 'comments': comments, } return render(request, 'articles/detail.html', context) 댓글 목록 {% for comment in co..

SW/DB 2024. 4. 21. 09:00
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바