티스토리 수익 글 보기
Validators¶
These validators are available from the django.contrib.postgres.validators
module.
KeysValidator¶
-
class
KeysValidator(keys, strict=False, messages=None)¶ Validates that the given keys are contained in the value. If
strictisTrue, then it also checks that there are no other keys present.The
messagespassed should be a dict containing the keysmissing_keysand/orextra_keys.참고
Note that this checks only for the existence of a given key, not that the value of a key is non-empty.
추가 정보
Support Django!
목차
도움말
- 자주 묻는 질문
- 공통적인 질문에 대한 답을 FAQ에서 찾아보세요.
- 색인, 모듈 색인, or 목차
- 특정한 주제에 대한 정보를 찾는데 유용합니다.
- Django Discord Server
- Join the Django Discord Community.
- Official Django Forum
- Join the community on the Django Forum.
- Ticket tracker
- 티켓 트래커를 통해 Django 혹은 Django 문서의 버그를 신고해주세요.
다운로드:
오프라인(Django 4.2):
HTML |
PDF |
ePub
Read the Docs 제공.