请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答

2回答

bobby 2017-06-16 09:09:11

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

0 回复 有任何疑惑可以回复我~
  • 放逐0 #1
    MACs-MacBook-Air-3:start mac$ python manage.py makemigrations message
    Traceback (most recent call last):
      File "manage.py", line 22, in <module>
        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 14:46:59
放逐0 2017-09-23 14:46:18

不好用啊

0 回复 有任何疑惑可以回复我~
  • bobby #1
    你给我发个qq消息 我给你看看吧
    回复 有任何疑惑可以回复我~ 2017-09-25 10:53:34
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信