No module named message

来源:3-3 django orm介绍与model设计

追梦逐梦白日做梦

2017-06-15

提示出了这个错误

写回答

2回答

bobby

2017-06-16

是不是你的manage.py文件中import了message? 如果有 就删除这一行就行了

0
1
放逐0
MACs-MacBook-Air-3:start mac$ python manage.py makemigrations message Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 338, in execute django.setup() File "/Library/Python/2.7/site-packages/django/__init__.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/Library/Python/2.7/site-packages/django/apps/config.py", line 94, in create module = import_module(entry) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named message
2017-09-23
共1条回复

放逐0

2017-09-23

不好用啊

0
1
bobby
你给我发个qq消息 我给你看看吧
2017-09-25
共1条回复

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4038 问题

查看课程