모델의 메타데이터를 정의한다. 메타데이터란, 필드가 아닌 모든 모델을 정의하는 데이터들을 의미한다.
Model metadata is “anything that’s not a field”, such as ordering options (
ordering
), database table name (db_table
), or human-readable singular and plural names (verbose_name
andverbose_name_plural
). None are required, and addingclass Meta
to a model is completely optional.
Model Meta#
https://docs.djangoproject.com/en/4.1/ref/models/options/
Form Meta#
https://docs.djangoproject.com/en/4.1/ref/forms/fields/