Fix version check
parent
bab439efee
commit
011ba7aec0
|
|
@ -151,6 +151,7 @@ All PR’s are welcome!
|
|||
|
||||
**2019-10-19**
|
||||
|
||||
- Bump version: 0.1.2
|
||||
- Add Python 3.5 supports, thanks to [Peter Farrel](https://github.com/maestrofjp)
|
||||
- Add animated gif :)
|
||||
- Add future warning for f-strings
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from django.utils.translation import ugettext_lazy as _
|
|||
|
||||
CURRENT_PYTHON = sys.version_info[:2]
|
||||
REQUIRED_PYTHON_FOR_FSTRING = (3, 6)
|
||||
USE_FSTRING = CURRENT_PYTHON > REQUIRED_PYTHON_FOR_FSTRING
|
||||
USE_FSTRING = CURRENT_PYTHON >= REQUIRED_PYTHON_FOR_FSTRING
|
||||
|
||||
|
||||
class WillRemoveInVersion10(FutureWarning):
|
||||
|
|
|
|||
Loading…
Reference in New Issue