IndentationErrorIndentationError
The code has incorrect indentation, which is syntactically significant in Python.
AttributeErrorAn object does not have the requested attribute or method.
You tried to access an attribute or method that does not exist on the object. The object may be None when you expected a different type, the method name may be misspelled, or you may be using a wrong type.
Check the object's type with type(obj). Use hasattr(obj, 'attr') to check before accessing. Add None checks for objects that might be None. Use dir(obj) to list available attributes. Check the class documentation.
None.split() # AttributeError: 'NoneType' has no attribute 'split'IndentationErrorThe code has incorrect indentation, which is syntactically significant in Python.
Model.DoesNotExistA Django ORM query with .get() did not find a matching record.
KeyboardInterruptThe user pressed Ctrl+C to interrupt the running program.
pickle.UnpicklingErrorThe pickle module could not deserialize the provided data.
IndexErrorA sequence index is out of the valid range for the given sequence.
StopIterationRaised by the next() function to indicate that there are no further items in an iterator.