Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- PYTHON
- Django
- 데이터베이스
- http
- airflow.cfg
- TCP
- 데이터 파이프라인
- 데이터엔지니어링
- dockerfile
- 정리
- 데브코스
- Docker
- linux
- sql
- HADOOP
- 운영체제
- 종류
- TIL
- 컴퓨터 네트워크
- 자료구조
- 데이터 엔지니어링
- 가상환경
- 데이터 웨어하우스
- redshift
- 컴퓨터네트워크
- S3
- airflow
- 파이썬
- Go
- AWS
Archives
- Today
- Total
목록view (1)
홍카나의 공부방
[DE 데브코스] 04.25 TIL - Django 템플릿 & 뷰
View와 Template의 기본 사용 예시 # views.py: from django.shortcuts import render from django.http import HttpResponse from polls.models import Question def index(request): # 쿼리셋을 정리하기 위한 method = order_by. 내림차순이 default latest_question_list = Question.objects.order_by('-pub_date')[:5] context = {'first_question': latest_question_list[0]} return render(request, 'polls/index.html', context=context) # 템플릿 ..
Data Engineering/프로그래머스 데브코스
2023. 4. 25. 17:23