mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-10 16:40:57 +00:00
9 lines
208 B
Python
Executable file
9 lines
208 B
Python
Executable file
#!/usr/bin/env python
|
|
import sys
|
|
|
|
version = sys.argv[1]
|
|
if version.startswith('http'):
|
|
print(version)
|
|
else:
|
|
next_version = float(version) + 0.1
|
|
print('Django>=%s,<%.1f' % (version, next_version))
|