title: Django Admin Page missing CSS
body: <p>I saw this <a href="https://stackoverflow.com/questions/3271731/djangos-admin-pages-are-missing-their-typical-formatting-style-have-i-set-it-up">question</a> and recommendation from Django Projects <a href="http://docs.djangoproject.com/en/dev/howto/deployment/modpython/?from=olddocs#id3" rel="noreferrer">here</a> but still can't get this to work. My Django Admin pages are not displaying the CSS at all.</p>
  
  <p><img src="https://i.stack.imgur.com/F9EXp.png" alt="enter image description here"></p>
  
  <p>This is my current configuration. </p>
  
  <p><strong>settings.py</strong></p>
  
  <pre><code>ADMIN_MEDIA_PREFIX = '/media/admin/'
  </code></pre>
  
  <p><strong>httpd.conf</strong></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot /home/django/sgel
      ServerName ec2-***-**-***-***.ap-**********-1.compute.amazonaws.com
      ErrorLog /home/django/sgel/logs/apache_error.log
      CustomLog /home/django/sgel/logs/apache_access.log combined
      WSGIScriptAlias / /home/django/sgel/apache/django.wsgi
  
      &lt;Directory /home/django/sgel/media&gt;
          Order deny,allow
          Allow from all
      &lt;/Directory&gt;
  
      &lt;Directory /home/django/sgel/apache&gt;
          Order deny,allow
          Allow from all
      &lt;/Directory&gt;
  
      LogLevel warn
  
      Alias /media/ /home/django/sgel/media/
  
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
     ServerName sgel.com
     Redirect permanent / http://www.sgel.com/
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>In addition, I also ran the following to create (I think) the symbolic link
  <code>ln -s /home/djangotest/sgel/media/admin/ /usr/lib/python2.6/site-packages/django/contrib/admin/media/</code></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>In my httpd.conf file, </p>
  
  <pre><code>User django
  Group django
  </code></pre>
  
  <p>When I run ls -l in my <code>/media</code> directory</p>
  
  <pre><code>drwxr-xr-x 2 root root 4096 Apr  4 11:03 admin
  -rw-r--r-- 1 root root    9 Apr  8 09:02 test.txt
  </code></pre>
  
  <p>Should that root user be django instead?</p>
  
  <p><strong>UPDATE 2</strong>
  When I enter <code>ls -la</code> in my <code>/media/admin</code> folder</p>
  
  <pre><code>total 12
  drwxr-xr-x 2 root root 4096 Apr 13 03:33 .
  drwxr-xr-x 3 root root 4096 Apr  8 09:02 ..
  lrwxrwxrwx 1 root root   60 Apr 13 03:33 media -&gt; /usr/lib/python2.6/site-packages/django/contrib/admin/media/
  </code></pre>
  
  <p>The thing is, when I navigate to <code>/usr/lib/python2.6/site-packages/django/contrib/admin/media/</code>, the folder was empty. So I copied the CSS, IMG and JS folders from my Django installation into <code>/usr/lib/python2.6/site-packages/django/contrib/admin/media/</code> and it still didn't work</p>