Let's see whether you can answer the following questions correctly.
- The permissions.SAFE_METHODS tuple of string includes the following HTTP methods or verbs that are considered safe:
- 'GET', 'HEAD', and 'OPTIONS'
- 'POST', 'PATCH', and 'OPTIONS'
- 'GET', 'PUT', and 'OPTIONS'
- Which of the following settings key in the REST_FRAMEWORK dictionary specifies the global setting with a tuple of string whose values indicate the classes that we want to use for authentication?
- 'GLOBAL_AUTHENTICATION_CLASSES'
- 'DEFAULT_AUTHENTICATION_CLASSES'
- 'REST_FRAMEWORK_AUTHENTICATION_CLASSES'
- Which of the following is the model that persists a Django user?
- Django.contrib.auth.DjangoUser
- Django.contrib.auth.User
- Django.rest-framework.User ...