Tags
- ManyToManyField
- Migrate
- comment & user
- many to many relationships
- improve query
- http
- 역참조
- 중개모델
- 1:n
- n:1의 한계 상황
- select_related
- dumpdata
- Article & User
- delete
- 댓글 update
- create
- 댓글 READ
- Read
- update
- N:1
- DB
- ORM
- migrations
- 쟝고
- 게시글
- Django
- queryset api
- M:N
- 댓글 create
- prefetch_related
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Notice
Recent Posts
Link
목록2024/05/05 (1)
데이터 분석 기술 블로그
DB에 대하여(18)_프로필 기능 구현 (feat. Django)
프로필 페이지각 회원의 개인 프로필 페이지에 팔로우 기능을 구현하기 위해 프로필 페이지를 먼저 구현해 봅시다.url을 작성합니다.# accounts/urls.pyurlpatterns = [ ... path('profile//', views.profile, name='profile'),]view 함수를 작성합니다.# accounts/views.pyfrom django.contrib.auth import get_user_modeldef profile(request, username): User = get_user_model() person = User.objects.get(username=username) context = { 'person': person, } ..
DB
2024. 5. 5. 20:53