title: Custom stylesheets in Django (1.3) admin
body: <p>I've got several custom stylesheets that override default admin styles. They live in <code>myproject/static/admin/css-extended</code>. I'm overriding several of Django's default admin templates with templates that live in 'myproject/templates/admin'.</p>
  
  <p>In the templates my stylesheet references are: <code>{{ STATIC_URL }}/admin/css-extended/[stylesheet].css</code>.</p>
  
  <p>However, I can't get the custom stylesheets to pull through.</p>
  
  <p>I've got the following url-related settings in settings.py:</p>
  
  <pre><code>MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media')
  MEDIA_URL = '/media/'
  STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
  STATIC_URL = '/static/'
  ADMIN_MEDIA_PREFIX = '/static/admin/'
  </code></pre>
  
  <p>I've got the following template context processors listed:</p>
  
  <pre><code>'django.core.context_processors.media',
  'django.core.context_processors.static',
  </code></pre>
  
  <p>Can anyone help please?</p>
  
  <p>Thanks</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I suspect the issue has something to do with the fact that my <code>ADMIN_MEDIA_PREFIX</code> is the same as the first part of the css-extended url (<code>'/static/admin'</code>). I guess Django is trying to find a directory called 'css-extended' in the core admin rather than in the project itself. But how do I get round this?</p>