Django stuck after runserver









up vote
2
down vote

favorite












I am new to Django, and am trying to get the server set up.



I have created my project folder (containing manage.py) and after running



python manage.py runserver


it gets stuck after these messages



System check identified no issues (0 silenced).

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
November 11, 2018 - 18:17:53
Django version 2.1.3, using settings 'MyProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.


There is a minute or so pause and then these show up.



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


After that it just stays there, I cannot type anything or do anything.










share|improve this question





















  • You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
    – Jon Clements
    Nov 11 at 23:40











  • I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
    – Andrew Zaw
    Nov 11 at 23:41







  • 1




    Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
    – Jon Clements
    Nov 11 at 23:41











  • It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
    – Pitt
    Nov 11 at 23:42






  • 1




    The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
    – Pitt
    Nov 11 at 23:43














up vote
2
down vote

favorite












I am new to Django, and am trying to get the server set up.



I have created my project folder (containing manage.py) and after running



python manage.py runserver


it gets stuck after these messages



System check identified no issues (0 silenced).

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
November 11, 2018 - 18:17:53
Django version 2.1.3, using settings 'MyProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.


There is a minute or so pause and then these show up.



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


After that it just stays there, I cannot type anything or do anything.










share|improve this question





















  • You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
    – Jon Clements
    Nov 11 at 23:40











  • I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
    – Andrew Zaw
    Nov 11 at 23:41







  • 1




    Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
    – Jon Clements
    Nov 11 at 23:41











  • It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
    – Pitt
    Nov 11 at 23:42






  • 1




    The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
    – Pitt
    Nov 11 at 23:43












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am new to Django, and am trying to get the server set up.



I have created my project folder (containing manage.py) and after running



python manage.py runserver


it gets stuck after these messages



System check identified no issues (0 silenced).

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
November 11, 2018 - 18:17:53
Django version 2.1.3, using settings 'MyProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.


There is a minute or so pause and then these show up.



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


After that it just stays there, I cannot type anything or do anything.










share|improve this question













I am new to Django, and am trying to get the server set up.



I have created my project folder (containing manage.py) and after running



python manage.py runserver


it gets stuck after these messages



System check identified no issues (0 silenced).

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
November 11, 2018 - 18:17:53
Django version 2.1.3, using settings 'MyProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.


There is a minute or so pause and then these show up.



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


After that it just stays there, I cannot type anything or do anything.







python django






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 11 at 23:39









Andrew Zaw

605




605











  • You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
    – Jon Clements
    Nov 11 at 23:40











  • I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
    – Andrew Zaw
    Nov 11 at 23:41







  • 1




    Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
    – Jon Clements
    Nov 11 at 23:41











  • It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
    – Pitt
    Nov 11 at 23:42






  • 1




    The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
    – Pitt
    Nov 11 at 23:43
















  • You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
    – Jon Clements
    Nov 11 at 23:40











  • I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
    – Andrew Zaw
    Nov 11 at 23:41







  • 1




    Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
    – Jon Clements
    Nov 11 at 23:41











  • It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
    – Pitt
    Nov 11 at 23:42






  • 1




    The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
    – Pitt
    Nov 11 at 23:43















You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
– Jon Clements
Nov 11 at 23:40





You're not supposed to be able to type anything (you just leave it running and Ctrl+C to stop it when you're done)... what is it you expect to be able to do?
– Jon Clements
Nov 11 at 23:40













I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
– Andrew Zaw
Nov 11 at 23:41





I want to type "python manage.py startapp". Also, what is the reason for the GET lines and why do they appear a lot later?
– Andrew Zaw
Nov 11 at 23:41





1




1




Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
– Jon Clements
Nov 11 at 23:41





Well... either cancel the running server and do it as a separate command, or open another command/shell window and execute it there? "runserver" is not meant to be an interactive prompt... it's just meant to run the development server for you to test your app.
– Jon Clements
Nov 11 at 23:41













It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
– Pitt
Nov 11 at 23:42




It says you have 15 unapplied migrations, consider running python manage.py migrate before starting the server to install the models into your database for your app to work.
– Pitt
Nov 11 at 23:42




1




1




The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
– Pitt
Nov 11 at 23:43




The GET lines are HTTP GET requests that your django server received, this is the normal behaviour of your server and shows you that it is actually running and working correctly
– Pitt
Nov 11 at 23:43












4 Answers
4






active

oldest

votes

















up vote
0
down vote













To clarify the behaviour of the runserver command, you should use the doc




Starts a lightweight development Web server on the local machine.




Since a server continously listen for connections, it's fine that you don't get the prompt back. If needed, you could use python manage.py runserver & to run the server in the background of your shell, or just open another window/tab.



Remember that, to test your website, you have to keep the server open.






share|improve this answer




















  • Sounds like someone downvoted all the answers here... Why tho ?
    – WayToDoor
    Nov 12 at 9:17






  • 1




    And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
    – Zollie
    Nov 13 at 9:48






  • 1




    Every answer (including yours now :p) is back at 0 upvotes :)
    – WayToDoor
    Nov 13 at 16:09


















up vote
0
down vote













First of all don't forget the Django documentation is your friend (even if it's a bit unfriendly).



You are doing everything correctly and the terminal is out putting any requests made to the application:



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


That means you connected to http://127.0.0.1:8000/ at the root domain, with which 3 fonts also got sent to the requesting browser/connection.




What to do now



I would highly suggest you follow a simple tutorial like this one, step by step, then follow other tutorials and find what works best for you.




An alternative idea



I have tried long and hard to enjoy using Django and for over 6 months I was unhappy working and struggling to get it to work flawlessly. So I found Flask to be a much better alternative and much easier to learn and continue to work with. I recently came across Quart, which is an asynchronous fork of Flask, and have not looked back since. We can literally build a fully functioning web application shell in a matter of minutes with the help of various Flask extensions.






share|improve this answer






















  • Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
    – Zollie
    Nov 13 at 9:53

















up vote
0
down vote













Quit the server with CTRL-BREAK. # (CTRL-C on many keyboards)


Then you can run your further python commands what you would like to on your projects in command line.






share|improve this answer




















  • Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
    – Jack Herer
    Nov 13 at 8:47











  • It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
    – Zollie
    Nov 13 at 9:33










  • So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
    – Zollie
    Nov 13 at 9:37










  • And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
    – Zollie
    Nov 13 at 11:08

















up vote
-3
down vote













You need to migrate your database.



$ python manage.py makamigrations your_app_name 
$ python manage.py migrate


That is all you need to do, and then restart the server.






share|improve this answer




















  • Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
    – WayToDoor
    Nov 12 at 9:28










  • Down voted because the answer is unrelated to the question.
    – Jack Herer
    Nov 13 at 8:48










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254348%2fdjango-stuck-after-runserver%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























4 Answers
4






active

oldest

votes








4 Answers
4






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













To clarify the behaviour of the runserver command, you should use the doc




Starts a lightweight development Web server on the local machine.




Since a server continously listen for connections, it's fine that you don't get the prompt back. If needed, you could use python manage.py runserver & to run the server in the background of your shell, or just open another window/tab.



Remember that, to test your website, you have to keep the server open.






share|improve this answer




















  • Sounds like someone downvoted all the answers here... Why tho ?
    – WayToDoor
    Nov 12 at 9:17






  • 1




    And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
    – Zollie
    Nov 13 at 9:48






  • 1




    Every answer (including yours now :p) is back at 0 upvotes :)
    – WayToDoor
    Nov 13 at 16:09















up vote
0
down vote













To clarify the behaviour of the runserver command, you should use the doc




Starts a lightweight development Web server on the local machine.




Since a server continously listen for connections, it's fine that you don't get the prompt back. If needed, you could use python manage.py runserver & to run the server in the background of your shell, or just open another window/tab.



Remember that, to test your website, you have to keep the server open.






share|improve this answer




















  • Sounds like someone downvoted all the answers here... Why tho ?
    – WayToDoor
    Nov 12 at 9:17






  • 1




    And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
    – Zollie
    Nov 13 at 9:48






  • 1




    Every answer (including yours now :p) is back at 0 upvotes :)
    – WayToDoor
    Nov 13 at 16:09













up vote
0
down vote










up vote
0
down vote









To clarify the behaviour of the runserver command, you should use the doc




Starts a lightweight development Web server on the local machine.




Since a server continously listen for connections, it's fine that you don't get the prompt back. If needed, you could use python manage.py runserver & to run the server in the background of your shell, or just open another window/tab.



Remember that, to test your website, you have to keep the server open.






share|improve this answer












To clarify the behaviour of the runserver command, you should use the doc




Starts a lightweight development Web server on the local machine.




Since a server continously listen for connections, it's fine that you don't get the prompt back. If needed, you could use python manage.py runserver & to run the server in the background of your shell, or just open another window/tab.



Remember that, to test your website, you have to keep the server open.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 at 0:27









WayToDoor

371214




371214











  • Sounds like someone downvoted all the answers here... Why tho ?
    – WayToDoor
    Nov 12 at 9:17






  • 1




    And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
    – Zollie
    Nov 13 at 9:48






  • 1




    Every answer (including yours now :p) is back at 0 upvotes :)
    – WayToDoor
    Nov 13 at 16:09

















  • Sounds like someone downvoted all the answers here... Why tho ?
    – WayToDoor
    Nov 12 at 9:17






  • 1




    And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
    – Zollie
    Nov 13 at 9:48






  • 1




    Every answer (including yours now :p) is back at 0 upvotes :)
    – WayToDoor
    Nov 13 at 16:09
















Sounds like someone downvoted all the answers here... Why tho ?
– WayToDoor
Nov 12 at 9:17




Sounds like someone downvoted all the answers here... Why tho ?
– WayToDoor
Nov 12 at 9:17




1




1




And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
– Zollie
Nov 13 at 9:48




And I up voted them since I see that the answers were quite good answers. :) Sometimes few people here just need a good hair cut, nothing else...:)
– Zollie
Nov 13 at 9:48




1




1




Every answer (including yours now :p) is back at 0 upvotes :)
– WayToDoor
Nov 13 at 16:09





Every answer (including yours now :p) is back at 0 upvotes :)
– WayToDoor
Nov 13 at 16:09













up vote
0
down vote













First of all don't forget the Django documentation is your friend (even if it's a bit unfriendly).



You are doing everything correctly and the terminal is out putting any requests made to the application:



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


That means you connected to http://127.0.0.1:8000/ at the root domain, with which 3 fonts also got sent to the requesting browser/connection.




What to do now



I would highly suggest you follow a simple tutorial like this one, step by step, then follow other tutorials and find what works best for you.




An alternative idea



I have tried long and hard to enjoy using Django and for over 6 months I was unhappy working and struggling to get it to work flawlessly. So I found Flask to be a much better alternative and much easier to learn and continue to work with. I recently came across Quart, which is an asynchronous fork of Flask, and have not looked back since. We can literally build a fully functioning web application shell in a matter of minutes with the help of various Flask extensions.






share|improve this answer






















  • Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
    – Zollie
    Nov 13 at 9:53














up vote
0
down vote













First of all don't forget the Django documentation is your friend (even if it's a bit unfriendly).



You are doing everything correctly and the terminal is out putting any requests made to the application:



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


That means you connected to http://127.0.0.1:8000/ at the root domain, with which 3 fonts also got sent to the requesting browser/connection.




What to do now



I would highly suggest you follow a simple tutorial like this one, step by step, then follow other tutorials and find what works best for you.




An alternative idea



I have tried long and hard to enjoy using Django and for over 6 months I was unhappy working and struggling to get it to work flawlessly. So I found Flask to be a much better alternative and much easier to learn and continue to work with. I recently came across Quart, which is an asynchronous fork of Flask, and have not looked back since. We can literally build a fully functioning web application shell in a matter of minutes with the help of various Flask extensions.






share|improve this answer






















  • Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
    – Zollie
    Nov 13 at 9:53












up vote
0
down vote










up vote
0
down vote









First of all don't forget the Django documentation is your friend (even if it's a bit unfriendly).



You are doing everything correctly and the terminal is out putting any requests made to the application:



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


That means you connected to http://127.0.0.1:8000/ at the root domain, with which 3 fonts also got sent to the requesting browser/connection.




What to do now



I would highly suggest you follow a simple tutorial like this one, step by step, then follow other tutorials and find what works best for you.




An alternative idea



I have tried long and hard to enjoy using Django and for over 6 months I was unhappy working and struggling to get it to work flawlessly. So I found Flask to be a much better alternative and much easier to learn and continue to work with. I recently came across Quart, which is an asynchronous fork of Flask, and have not looked back since. We can literally build a fully functioning web application shell in a matter of minutes with the help of various Flask extensions.






share|improve this answer














First of all don't forget the Django documentation is your friend (even if it's a bit unfriendly).



You are doing everything correctly and the terminal is out putting any requests made to the application:



[11/Nov/2018 18:18:46] "GET / HTTP/1.1" 200 16348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 80304
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 81348
[11/Nov/2018 18:18:47] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 82564


That means you connected to http://127.0.0.1:8000/ at the root domain, with which 3 fonts also got sent to the requesting browser/connection.




What to do now



I would highly suggest you follow a simple tutorial like this one, step by step, then follow other tutorials and find what works best for you.




An alternative idea



I have tried long and hard to enjoy using Django and for over 6 months I was unhappy working and struggling to get it to work flawlessly. So I found Flask to be a much better alternative and much easier to learn and continue to work with. I recently came across Quart, which is an asynchronous fork of Flask, and have not looked back since. We can literally build a fully functioning web application shell in a matter of minutes with the help of various Flask extensions.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 12 at 0:38

























answered Nov 12 at 0:18









Jack Herer

315112




315112











  • Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
    – Zollie
    Nov 13 at 9:53
















  • Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
    – Zollie
    Nov 13 at 9:53















Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
– Zollie
Nov 13 at 9:53




Actually yesterday up voted your answer too, after all answers were down voted by someone earlier. I liked contributors' answers here on this simple question...
– Zollie
Nov 13 at 9:53










up vote
0
down vote













Quit the server with CTRL-BREAK. # (CTRL-C on many keyboards)


Then you can run your further python commands what you would like to on your projects in command line.






share|improve this answer




















  • Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
    – Jack Herer
    Nov 13 at 8:47











  • It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
    – Zollie
    Nov 13 at 9:33










  • So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
    – Zollie
    Nov 13 at 9:37










  • And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
    – Zollie
    Nov 13 at 11:08














up vote
0
down vote













Quit the server with CTRL-BREAK. # (CTRL-C on many keyboards)


Then you can run your further python commands what you would like to on your projects in command line.






share|improve this answer




















  • Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
    – Jack Herer
    Nov 13 at 8:47











  • It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
    – Zollie
    Nov 13 at 9:33










  • So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
    – Zollie
    Nov 13 at 9:37










  • And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
    – Zollie
    Nov 13 at 11:08












up vote
0
down vote










up vote
0
down vote









Quit the server with CTRL-BREAK. # (CTRL-C on many keyboards)


Then you can run your further python commands what you would like to on your projects in command line.






share|improve this answer












Quit the server with CTRL-BREAK. # (CTRL-C on many keyboards)


Then you can run your further python commands what you would like to on your projects in command line.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 at 6:19









Zollie

35915




35915











  • Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
    – Jack Herer
    Nov 13 at 8:47











  • It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
    – Zollie
    Nov 13 at 9:33










  • So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
    – Zollie
    Nov 13 at 9:37










  • And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
    – Zollie
    Nov 13 at 11:08
















  • Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
    – Jack Herer
    Nov 13 at 8:47











  • It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
    – Zollie
    Nov 13 at 9:33










  • So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
    – Zollie
    Nov 13 at 9:37










  • And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
    – Zollie
    Nov 13 at 11:08















Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
– Jack Herer
Nov 13 at 8:47





Down voted because this is not really good advice, the OP's question was not "How can stop the server running?"The OP can always run other commands in another terminal tab/window. Besides the OP may want to keep the server running. so your answer is actually not very good for the OP or others.
– Jack Herer
Nov 13 at 8:47













It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
– Zollie
Nov 13 at 9:33




It's partially true, since if you try to really understand what the OP situation was, obviously he did not really understand that during running the server, you cannot type in the same console window. So, his question was not at all about how to open and type in a new console window during running the server in another window. So the OP does not understand that you have to quite from the server and then you can continue to run commands regarding your projects in that console window. I just did not want to explain this, since it was explained already here by others.
– Zollie
Nov 13 at 9:33












So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
– Zollie
Nov 13 at 9:37




So that's why I tried to answer this very simply on the point. Then the OP will learn about how to open more console windows and work on them. But first he has to understand that you cannot type in a console window during the server is running in that console window. I hope that you can grasp the concept of my simple answer on this..
– Zollie
Nov 13 at 9:37












And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
– Zollie
Nov 13 at 11:08




And the OP nowhere wrote that he wanted to keep the server running. Read his post/question again if you do not understand his post...
– Zollie
Nov 13 at 11:08










up vote
-3
down vote













You need to migrate your database.



$ python manage.py makamigrations your_app_name 
$ python manage.py migrate


That is all you need to do, and then restart the server.






share|improve this answer




















  • Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
    – WayToDoor
    Nov 12 at 9:28










  • Down voted because the answer is unrelated to the question.
    – Jack Herer
    Nov 13 at 8:48














up vote
-3
down vote













You need to migrate your database.



$ python manage.py makamigrations your_app_name 
$ python manage.py migrate


That is all you need to do, and then restart the server.






share|improve this answer




















  • Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
    – WayToDoor
    Nov 12 at 9:28










  • Down voted because the answer is unrelated to the question.
    – Jack Herer
    Nov 13 at 8:48












up vote
-3
down vote










up vote
-3
down vote









You need to migrate your database.



$ python manage.py makamigrations your_app_name 
$ python manage.py migrate


That is all you need to do, and then restart the server.






share|improve this answer












You need to migrate your database.



$ python manage.py makamigrations your_app_name 
$ python manage.py migrate


That is all you need to do, and then restart the server.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 at 2:15









Algebra

111




111











  • Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
    – WayToDoor
    Nov 12 at 9:28










  • Down voted because the answer is unrelated to the question.
    – Jack Herer
    Nov 13 at 8:48
















  • Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
    – WayToDoor
    Nov 12 at 9:28










  • Down voted because the answer is unrelated to the question.
    – Jack Herer
    Nov 13 at 8:48















Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
– WayToDoor
Nov 12 at 9:28




Op problem isn't the migrations (altrough they have to do them), but more likely being stuck in the runserver subcommand
– WayToDoor
Nov 12 at 9:28












Down voted because the answer is unrelated to the question.
– Jack Herer
Nov 13 at 8:48




Down voted because the answer is unrelated to the question.
– Jack Herer
Nov 13 at 8:48

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254348%2fdjango-stuck-after-runserver%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Barbados

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3