Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 811 Bytes

File metadata and controls

31 lines (20 loc) · 811 Bytes

자소설 닷컴

  1. 마음가짐

Django 답게 코딩하기

데이터, 데이터베이스, 모델에 집중하기

  1. Django가 만들어 놓은 기능

Django공식 깃허브 [https://github.com/django]

Django 공식 문서 [https://docs.djangoproject.com/ko/3.0]

모델과 데이터베이스

  1. 다양한 Field들
  1. Primary Key : AutoField
  2. 문자열 : CharField, TextField, SlugField
  3. 숫자 : IntegerField, PositiveIntegerField, FloatField
  4. 날짜 / 시간 : DateField, TimeField, DateTimeField
  5. 참 / 거짓 : BooleanField, NullBooleanField
  6. 파일 : FileField, ImageField, FilePathField

  1. 모델폼

모델에 대응하는 html폼을 만들어줌

데이터를 생성하거나 업데이트가 간편

폼을 다루는 법을 배워야 한다.