Fix version check

master
Uğur Özyılmazel 2019-10-19 20:58:21 +03:00
parent bab439efee
commit 011ba7aec0
No known key found for this signature in database
GPG Key ID: 43CAF9E2A63DF017
2 changed files with 2 additions and 1 deletions

View File

@ -151,6 +151,7 @@ All PRs 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

View File

@ -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):