Undocumented
Constant | PY310 |
Undocumented |
Constant | PY36 |
Undocumented |
Constant | PY37 |
Undocumented |
Constant | PY38 |
Undocumented |
Constant | PY39 |
Undocumented |
Variable | version_component_re |
Undocumented |
Function | get_complete_version |
Return a tuple of the django version. If version argument is non-empty, check for correctness of the tuple provided. |
Function | get_docs_version |
Undocumented |
Function | get_git_changeset |
Return a numeric identifier of the latest git changeset. |
Function | get_main_version |
Return main version (X.Y[.Z]) from VERSION. |
Function | get_version |
Return a PEP 440-compliant version number from VERSION. |
Function | get_version_tuple |
Return a tuple of version numbers (e.g. (1, 2, 3)) from the version string (e.g. '1.2.3'). |
Return a numeric identifier of the latest git changeset.
The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format. This value isn't guaranteed to be unique, but collisions are very unlikely, so it's sufficient for generating the development version numbers.