Give the exception classes present in django.



Give the exception classes present in django...

Answer / 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

More Django Python Interview Questions

Why is django useful?

1 Answers  


What is context in django ?

1 Answers  


Is django free?

1 Answers  


Difference between pyramid vs django?

1 Answers  


Is django a backend framework?

1 Answers  


How do you pronounce django in python?

1 Answers  


How to make Foreign Key relation in django ?

1 Answers  


How can you customize the functionality of the django admin interface?

1 Answers  


How can you set up static files in Django?

1 Answers  


What are the advantages of using django?

1 Answers  


What is the difference between tuples and lists in python ?

1 Answers  


Is django unchained related to django?

1 Answers  


Categories