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 #7496 -- It's now possible to pickle SortedDicts with pickle protocol 2
[django.git]
/
django
/
__init__.py
blob
d0f42e562a8005df3f2ad103e11c6bc2102e8e75
1
VERSION
= (
1
,
0
,
'beta_1'
)
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