Changeset 2257


Ignore:
Timestamp:
Jul 1, 2012, 6:37:58 AM (10 years ago)
Author:
adehnert
Message:
Serve Django 1.4 admin media

Django 1.4 relocated the admin media in the filesystem, and started refering
to it as static media instead of just "media". Consequently, we change both
the left and right hand sides of the Alias. See also #300.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/conf.d/scripts-special.conf

    r2119 r2257  
    11Alias /__scripts/heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat
    2 Alias /__scripts/django/media /usr/lib/python2.7/site-packages/django/contrib/admin/media
     2Alias /__scripts/django/static/admin /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin
    33Alias /__scripts /afs/athena.mit.edu/contrib/scripts/www
    44
     
    99</Directory>
    1010
    11 <Directory /usr/lib/python2.7/site-packages/django/contrib/admin/media>
     11<Directory /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin>
    1212    <Files *>
    1313        SetHandler none
Note: See TracChangeset for help on using the changeset viewer.