django manage.py执行命令报错,怎么回事,求大神解救
我在执行makemigrations命令的时候报错,错误信息如下,语法错误?不懂。Traceback(mostrecentcalllast):File"manage.py...
我在执行makemigrations命令的时候报错,错误信息如下,语法错误?不懂。
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "D:\python\lib\site-packages\django\core\management\__init__.py", line 36
3, in execute_from_command_line
utility.execute()
File "D:\python\lib\site-packages\django\core\management\__init__.py", line 30
7, in execute
settings.INSTALLED_APPS
File "D:\python\lib\site-packages\django\conf\__init__.py", line 56, in __geta
ttr__
self._setup(name)
File "D:\python\lib\site-packages\django\conf\__init__.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "D:\python\lib\site-packages\django\conf\__init__.py", line 110, in __ini
t__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "D:\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 661, in exec_module
File "<frozen importlib._bootstrap_external>", line 767, in get_code
File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "D:\python\Scripts\isoland\isoland\settings.py", line 98
AUTH_PASSWORD_VALIDATORS = [
^
SyntaxError: invalid syntax 展开
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "D:\python\lib\site-packages\django\core\management\__init__.py", line 36
3, in execute_from_command_line
utility.execute()
File "D:\python\lib\site-packages\django\core\management\__init__.py", line 30
7, in execute
settings.INSTALLED_APPS
File "D:\python\lib\site-packages\django\conf\__init__.py", line 56, in __geta
ttr__
self._setup(name)
File "D:\python\lib\site-packages\django\conf\__init__.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "D:\python\lib\site-packages\django\conf\__init__.py", line 110, in __ini
t__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "D:\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 661, in exec_module
File "<frozen importlib._bootstrap_external>", line 767, in get_code
File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "D:\python\Scripts\isoland\isoland\settings.py", line 98
AUTH_PASSWORD_VALIDATORS = [
^
SyntaxError: invalid syntax 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询