summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-02-27 20:44:52 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commit0f3229a119e53054d98c5e878a9581403628cd08 (patch)
treee07ad2e91e2544f7b2d61e8f3f653fdda26bfd52 /example_project
parentcfabd636d0a6d84e8377be3e4d041b4e75ddda9a (diff)
downloadIshtar-0f3229a119e53054d98c5e878a9581403628cd08.tar.bz2
Ishtar-0f3229a119e53054d98c5e878a9581403628cd08.zip
Migrate to python 3 - Clean old migrations and some old scripts
Diffstat (limited to 'example_project')
-rwxr-xr-xexample_project/manage.py2
-rw-r--r--example_project/settings.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/example_project/manage.py b/example_project/manage.py
index 80114eb68..655a2475a 100755
--- a/example_project/manage.py
+++ b/example_project/manage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import sys
diff --git a/example_project/settings.py b/example_project/settings.py
index f13e5f0ce..8a7343212 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -274,7 +274,7 @@ TEST_RUNNER = 'ishtar_common.tests.ManagedModelTestRunner'
try:
from local_settings import *
-except ImportError, e:
+except ImportError as e:
print('Unable to load local_settings.py:', e)
if LANGUAGE_CODE == "fr-fr" and SRID == 4326: