diffworld
V2EX  ›  问与答

关于 django 命令回车是出现 ^M 的问题

  •  
  •   diffworld · Dec 21, 2016 · 1892 views
    This topic created in 3433 days ago, the information mentioned may be changed or developed.

    我在 django 工程中执行命令时,有的时候按回车键会出现 ^M 这样的字符,然后命令不能执行,就像这样

    Username (leave blank to use 'emind'): admin^M^M^M

    Did you rename the demoapp.Myblog model to Blog? [y/N] y^M^M^M

    键盘是没问题的,但是按回车就是出现这样的东西,请问有人遇到过吗?这是怎么回事啊

    3 replies    2016-12-22 09:33:25 +08:00
    thinker3
        2
    thinker3  
       Dec 21, 2016
    我用了 ipdb 没有调完然后服务重启了,也会这样,只有重开 tab
    diffworld
        3
    diffworld  
    OP
       Dec 22, 2016
    谢谢大家,后面我又试了一下,只有在使用 django 命令时才会这样,其他命令没有问题,后面重启电脑就没事了,后面就没管了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1040 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:31 · PVG 07:31 · LAX 16:31 · JFK 19:31
    ♥ Do have faith in what you're doing.