Skip to content

Commit

Permalink
manage.py: Raise min python version to 3.6
Browse files Browse the repository at this point in the history
raise an Exception if python version is < 3.6

Closes coala#223
  • Loading branch information
bhawesh96 committed Nov 18, 2018
1 parent 2a5d9bd commit d79fe20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@


if __name__ == '__main__':
if (sys.version_info[0], sys.version_info[1]) < (3, 6):
raise Exception('Minimum python version v3.6 is required.')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'community.settings')
try:
from django.core.management import execute_from_command_line
Expand Down

0 comments on commit d79fe20

Please sign in to comment.