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 #223
  • Loading branch information
bhawesh96 authored and gitmate-bot committed Jan 31, 2019
1 parent db5c78e commit b866611
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 3.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 b866611

Please sign in to comment.