Tags
- update
- 통계학
- regexp
- Tree
- ORM
- 트리
- count
- distinct
- 스택
- 백트래킹
- 뷰
- DB
- 큐
- SQL
- outer join
- drf
- Queue
- 완전검색
- 이진트리
- M:N
- N:1
- delete
- 쟝고
- create
- Vue
- stack
- 그리디
- Article & User
- migrations
- Django
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Notice
Recent Posts
Link
목록좋아요 (1)
데이터 분석 기술 블로그
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bTPYij/btsG529OQNU/H5F6qbt1FfKob6NyC6C6Y1/img.png)
좋아요 기능 구현url 작성합니다.# articles/urls.pyurlpatterns = [ ... path('/likes/', views.likes, name='likes'),]view 함수를 작성합니다.# articles/views.py@login_requireddef likes(request, article_pk): article = Article.objects.get(pk=article_pk) if request.user in article.like_users.all(): article.like_users.remove(request.user) else: article.like_users.add(request.user) return redi..
DB
2024. 5. 4. 09:00