repo.or.cz
/
django.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.
[django.git]
/
django
/
__init__.py
blob
de473fa4e9e5369ceb7ee0af77197e740007d93d
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
from
django
.
utils
.
version
import
get_svn_revision
8
v
=
'
%s-%s-%s
'
% (
v
,
VERSION
[-
1
],
get_svn_revision
())
9
return
v