Django 1.9 admin not showing CSS style
<p>I am new to <code>django</code> and currently I am making the <a href="https://docs.djangoproject.com/en/1.9/intro/tutorial02/" rel="nofollow noreferrer">tutorial</a>. It goes well but every time at some point my admin site loses ist CSS styling and starts looking like this:
<a href="https://i.stack.imgur.com/YTXET.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YTXET.png" alt="enter image description here"></a></p>

<p>This problem is apparently not new, as I found few posts here (e.g., <a href="https://stackoverflow.com/questions/28728912/django-admin-site-not-showing-css-style">this one</a> or <a href="https://stackoverflow.com/questions/4420378/why-my-django-admin-site-does-not-have-the-css-style">this one</a>) on the topic. Following the answers I made the next steps:</p>

<ol>
<li>Running <code>python manage.py collectstatic</code></li>
<li><p>Modifying <code>settings.py</code>:</p>

<p><code>STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')</code></p></li>
<li><p>Adding the following lines to <code>manage.py</code>:</p>

<p><code>import mimetypes
mimetypes.init()
mimetypes.types_map['.css'] = 'text/css'</code></p></li>
<li><p>Going sure that <code>'django.contrib.staticfiles'</code> in <code>settings.py</code> is uncommented.</p></li>
</ol>

<p>Nevertheless, nothing worked and my admin site still does not have CSS styling.</p>

<p>Note that in my case the problem is not consistent. Whenever I start a new project, the admin page is fine. The problem appears only after certain (and each time different) step throughout the tutorial. For example, last time it was after I modified the <code>DATABASES</code> entry in <code>settings.py</code> (though I went through this step smoothly one attempt before; changing the entry to its original value did not help to restore the admin page styling).</p>

<p>I am using <code>django 1.9.6</code> with <code>python 3.4.3</code> under <code>Ubuntu 14.04</code>.</p>

<p><strong>EDIT:</strong></p>

<p>I am running server with <code>#DEBUG = True</code> and <code>ALLOWED_HOSTS = ['*']</code></p>