Tags
- 백트래킹
- ORM
- stack
- count
- migrations
- 완전검색
- DB
- drf
- outer join
- N:1
- Vue
- 통계학
- Tree
- Django
- distinct
- M:N
- 쟝고
- 큐
- delete
- 그리디
- Article & User
- 뷰
- regexp
- SQL
- 스택
- create
- update
- 트리
- Queue
- 이진트리
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
목록댓글 (1)
데이터 분석 기술 블로그
1. 사용자로부터 댓글 데이터를 입력받기 위한 CommentForm 정의 # articles/forms.py from .models import Article, Comment class CommentForm(forms.ModelForm): class Meta: model = Comment fields = '__all__' 2. deatil view 함수에서 CommentForm을 사용하여 detail 페이지에 렌더링 # articles/views.py from .forms import ArticleForm, CommentForm def detail(request, pk): article = Article.objects.get(pk=pk) comment_form = CommentForm() context ..
SW/DB
2024. 4. 20. 09:00