推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
python30
V2EX  ›  Python

Python manage.py migrate 时。总时出现这个 warnings 是什么意思?

  •  
  •   python30 · Apr 27, 2018 · 5529 views
    This topic created in 2946 days ago, the information mentioned may be changed or developed.
    C:\Users\MrTong\Desktop\django\EasyCRM>Python manage.py migrate
    System check identified some issues:
    WARNINGS:
    crm.Customer.tags: (fields.W340) null has no effect on ManyToManyField.
    crm.UserProfile.roles: (fields.W340) null has no effect on ManyToManyField.
    2 replies    2018-04-30 13:49:47 +08:00
    georgema1982
        1
    georgema1982  
       Apr 28, 2018
    你在 ManyToManyField 上有个 null 的参数。migration 提醒你 null 在 ManyToManyField 上无效
    python30
        2
    python30  
    OP
       Apr 30, 2018
    多谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1496 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.