#18228 closed New feature (duplicate)
Add get_git_revsion() to django.utils.version and refactor django.get_version()
| Reported by: | Daniel Swarbrick | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Normal | Keywords: | git |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Attached patch adds function to determine the git HEAD revision hash, and modifies django.get_version() accordingly.
Attachments (1)
Change History (3)
by , 14 years ago
| Attachment: | get_git_version.diff added |
|---|
comment:1 by , 14 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 by , 14 years ago
Sorry. Didn't expect that functionality to be in there so quickly. I wrote my patch last night, before #18224 was even open.
Note:
See TracTickets
for help on using tickets.
Thanks, but this is a duplicate of #18224.
To avoid duplicating efforts, it's best to check existing tickets before writing patches, for instance with the "Search" field at the top right of each page.