StopUpload
This exception is raised when an upload must abort.
Attributes
| Attribute | Type | Description |
|---|---|---|
| connection_reset | boolean = False | If True, Django will halt the upload without consuming the rest of the upload, causing the browser to show a connection reset error. |
Constructor
Signature
def StopUpload(
connection_reset: boolean = False
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| connection_reset | boolean = False | If True, Django halts the upload without consuming the remaining data, potentially causing a connection reset error in the browser. |
Signature
def StopUpload(
connection_reset: boolean = False
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| connection_reset | boolean = False | A flag indicating whether to immediately halt the connection or consume the remaining data before stopping |