django- 404 message but no runserver error
<p>Hi im trying to learn Django (doing the first parts of the turtorial >>docs.djangoproject.com/en/1.10/intro/tutorial02/) Im having a hard time getting my server to run, in a way that i can veiw and edit it on a website-like interface
This is what is supposed to come up when I go on <a href="http://127.0.0.1:8000" rel="nofollow">http://127.0.0.1:8000</a> 
<a href="http://i.stack.imgur.com/TFavx.png" rel="nofollow"><img src="http://i.stack.imgur.com/TFavx.png" alt="supposed"></a></p>

<p>Instead  I get a 404 error message. this is what happens when I run Python manage.py runserver
<a href="http://i.stack.imgur.com/rcArC.png" rel="nofollow"><img src="http://i.stack.imgur.com/rcArC.png" alt="error"></a></p>

<p>there arent really any Errors it just says the port is already in use, I think thats because I ran that line of code twice.</p>

<p>Im not entirely sure exactly what files ill need to change to fix this </p>

<p>my <strong>init</strong>.py seems to be empty(maybe thats the problem? idk doesnt seem like it) </p>

<p>Maybe your server python process is hang. Close your console, open it again and try to rerun your server. </p>

<p>If after trying that you are still getting <code>port already in use</code> message. Try to kill the process by yourself. </p>

<pre><code>ps aux | grep -i manage
</code></pre>

<p>You will get something like this</p>

<pre><code>14770     8264  0.0  1.9 546948 40904 ?        S    Sep19   0:00 /usr/local/bin/python manage.py runserver 0.0.0.0:8000
</code></pre>

<p>Then kill it using <code>kill -9 pid</code></p>

<pre><code>kill -9 8264
</code></pre>

python django database server