"C:\Program Files (x86)\JetBrains\PyCharm 5.0.4\bin\runnerw.exe" C:\Users\Cranezhou\env\mxonline\Scripts\python.exe D:/01_Python_lab/mxonline/manage.py runserver 0.0.0.0:80
Unhandled exception in thread started by <function check_errors..wrapper at 0x0000000004A34D90>
Traceback (most recent call last):
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, kwargs)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(_exception)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(args, kwargs)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\apps\registry.py", line 108, in populate
app_config.import_models(all_models)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\apps\config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\Cranezhou\env\mxonline\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "D:\01_Python_lab\mxonline\extra_apps\xadmin\models.py", line 18, in
from xadmin.util import quote
File "D:\01_Python_lab\mxonline\extra_apps\xadmin\util.py", line 48
except Exception, e:
^
SyntaxError: invalid syntax
"C:\Program Files (x86)\JetBrains\PyCharm 5.0.4\bin\runnerw.exe" C:\Users\Cranezhou\env\mxonline\Scripts\python.exe D:/01_Python_lab/mxonline/manage.py runserver 0.0.0.0:80 Unhandled exception in thread started by <function check_errors..wrapper at 0x0000000004A34D90>
Traceback (most recent call last):
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, kwargs)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(_exception)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(args, kwargs)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\apps\registry.py", line 108, in populate
app_config.import_models(all_models)
File "C:\Users\Cranezhou\env\mxonline\lib\site-packages\django\apps\config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\Cranezhou\env\mxonline\lib\importlib__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "D:\01_Python_lab\mxonline\extra_apps\xadmin\models.py", line 18, in
from xadmin.util import quote
File "D:\01_Python_lab\mxonline\extra_apps\xadmin\util.py", line 48
except Exception, e:
^
SyntaxError: invalid syntax