mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
Add authentication and registration to seahub
This commit is contained in:
12
thirdpart/registration/__init__.py
Normal file
12
thirdpart/registration/__init__.py
Normal file
@@ -0,0 +1,12 @@
|
||||
VERSION = (0, 8, 0, 'alpha', 1)
|
||||
|
||||
def get_version():
|
||||
version = '%s.%s' % (VERSION[0], VERSION[1])
|
||||
if VERSION[2]:
|
||||
version = '%s.%s' % (version, VERSION[2])
|
||||
if VERSION[3:] == ('alpha', 0):
|
||||
version = '%s pre-alpha' % version
|
||||
else:
|
||||
if VERSION[3] != 'final':
|
||||
version = '%s %s %s' % (version, VERSION[3], VERSION[4])
|
||||
return version
|
Reference in New Issue
Block a user