웹 서비스는 곧 데이터베이스라고 볼 수 있다. 그런 의미에서 django는 데이터베이스를 관리하기 매우 간편하게 해준다.
django.models : DB 통신
django.forms : Form 로직
django.http : HTTP 통신
django.contrib : 웹개발에 도움이 될 만한 모든 나머지 것들
[Request and reponse objects: https://docs.djangoproject.com/en/3.0/ref/request-response/](https://cksnsoft.notion.site/Request-and-reponse-objects-https-docs-djangoproject-com-en-3-0-ref-request-response-a9ae0c42cafe4f31a198e09ea529518e)
Restaurant.objects.create 는 r1 = Restaurant(); r1.save()를 한번에 한 것.
ValueError: save() prohibited to prevent data loss due to unsaved related object 'place'.
완벽한 문서: https://docs.djangoproject.com/en/3.0/topics/db/examples/one_to_one/