get_complete_version
Return a tuple of the django version. If version argument is non-empty, check for correctness of the tuple provided.
def get_complete_version(
version: tuple = None
) - > tuple
Return a tuple of the django version. If version argument is non-empty, check for correctness of the tuple provided.
Parameters
| Name | Type | Description |
|---|---|---|
| version | tuple = None | An optional version tuple to validate; if omitted, the current Django VERSION is used |
Returns
| Type | Description |
|---|---|
tuple | A five-element tuple representing the full version components (major, minor, micro, release level, and serial) |