Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django press Enter and it show ^M

Tags:

python

django

I want to change my models in django

when I execute python manage.py makemigrations ,it asks a question:

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

that I input y and press Enter,but it adds ^M to the line

I've looked around and apparently but I've got no choices

can anybody tell me how to fix it?

like image 694
217LeeSin Avatar asked Dec 21 '16 04:12

217LeeSin


1 Answers

Better to reset the console frequently.
This is not a big problem but due to multiple terminals being not reset for long durations, such problem occurs.

like image 55
Mayank Pratap Singh Avatar answered Nov 13 '22 03:11

Mayank Pratap Singh