[Django] 모델(Model)
장고는 모델(Model) 을 이용하여 데이터베이스를 처리한다. 보통 데이터베이스에 데이터를 저장하고 조회하기 위해서 SQL 쿼리문을 이용해야 하지만 장고의 모델(Model) 을 사용하면 이런 SQL 쿼리문의 도움없이 쉽게 처리할 수 있다. #장고 앱 migrate # python manage.py runserver 시 다음과 같은 문구를 확인할 수 있다. You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions. Run 'python manage.py migrate' to apply them. #..
Python/Django
2022. 9. 15. 16:25