root/django/branches/boulder-oracle-sprint/django/__init__.py
| Revision 5463, 210 bytes (checked in by bouldersprinters, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | VERSION = (0, 97, 'pre') |
| 2 | |
| 3 | def get_version(): |
| 4 | "Returns the version as a human-format string." |
| 5 | v = '.'.join([str(i) for i in VERSION[:-1]]) |
| 6 | if VERSION[-1]: |
| 7 | v += '-' + VERSION[-1] |
| 8 | return v |
Note: See TracBrowser for help on using the browser.
