adspace


Give the exception classes present in django.

Answer Posted / Km.kanchan

Django has several exception classes, including
1. ValidationError: Raised when validation fails for a model instance
2. PermissionDenied: Raised when a user doesn't have permission to access a view
3. NotFound404: Raised when a requested page or resource is not found
4. Http404: A subclass of NotFound404, used for custom errors

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category