Stop shipping our own copy of the Django Admin media files.

Review Request #1807 — Created Oct. 2, 2010 and submitted

Information

Review Board
release-1.5.x

Reviewers

Stop shipping our own copy of the Django Admin media files.

For historical reasons, we've shipped the Django Admin media files as part
of our build directory. This comes from a time before rb-site existed, when
we needed a single media directory with everything inside it. However, that's
just problematic these days.

Now we let the Django devserver handle the /media/admin path as it prefers
to, and we link the proper path during rb-site upgrade. This lets us reduce
our package size and prevents problems people may hit with different
versions of Django.
Tested creating and upgrading sites and saw that the media/admin directory pointed to the Django admin media directory.

Tested that the media files would load during runserver.
david
  1. What about prepare-dev.py?
    1. Hmm? What about it?
      
      The devserver handles all media paths, so we don't need to symlink anything.
  2. 
      
david
  1. So it does.
  2. 
      
Loading...