Note that there are some explanatory texts on larger screens.

plurals
  1. POafter upgrade to python2.6 and ubuntu 9.0, django admin does not load css even though admin media is properly configured
    primarykey
    data
    text
    <p>basically i upgraded ubuntu to juanty, and with it came python2.6 so i decided to take the chance and make django work with it. i re-svn'd django into dist-packages, and made sure to properly sym-link my admin media. Note that i'm not using apache, rather just the django development server.</p> <p>when i load up the admin the css seems to not take effect, when i view source it is calling the proper files and i even go ahead and load these files in the browser and they load properly.</p> <p>any ideas as to what i've done wrong? i'm thinking it has to do with using the latest revision of django.</p> <p>-------------Edit--------------------</p> <p>to answer your questions below:</p> <p>I am not running apache, i'm serving static files using django and i've tried loading the files from the browser and they work fine.</p> <p>i did this in my settings file</p> <pre><code>ADMIN_MEDIA_PREFIX = '/static/admin_media/' </code></pre> <p>i symlinked from my static folder admin_media > /usr/lib/python2.6/dist-packages/django/contrib/admin/media/</p> <p>this is really stumping me as i think i've done everything right.</p> <p>------------Edit------------</p> <p>heres a sample of my urls.py</p> <pre><code>(r'^static/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), </code></pre> <p>what i've recalled is that before (in ubuntu 8 &amp; probably an older svn revision of django) i didn't configure anyting in my settings or symlin anything from my static folder and it worked just fine with the default /media/ - is there somewhere where it is symlinked automatically for the admin?</p> <p>------Edit------------------- This is most likely a bug with the svn version, as after this i tried on my windows machine and i get the same thing. the css files are linked properly but are not imported. instead when i click on them it downloads the files. permission issue anyone?</p> <p>help, as the admin doesn't look as nice without the css formating.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload