Closed
Bug 677007
Opened 13 years ago
Closed 13 years ago
use staticfiles to serve admin media
Categories
(Webtools Graveyard :: Elmo, defect, P2)
Webtools Graveyard
Elmo
Tracking
(Not tracked)
RESOLVED
FIXED
1.3
People
(Reporter: Pike, Assigned: Pike)
Details
Attachments
(1 file)
513 bytes,
patch
|
peterbe
:
review+
|
Details | Diff | Splinter Review |
Right now, the admin CSS/JS doesn't load locally. The recommended way to go about it is to use staticfiles to serve it, which seems to work already, we just need to set ADMIN_MEDIA_PREFIX to "/static/admin/"
Updated•13 years ago
|
Assignee: nobody → l10n
Priority: -- → P2
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #551525 -
Flags: review?(peterbe)
Comment 2•13 years ago
|
||
Comment on attachment 551525 [details] [diff] [review] ADMIN_MEDIA_PREFIX = '/static/admin/' Review of attachment 551525 [details] [diff] [review]: ----------------------------------------------------------------- Do we need to do anything to the apache sites? If so I'm perfectly happy to complete that so we don't need the django static serve.
Attachment #551525 -
Flags: review?(peterbe) → review+
Assignee | ||
Comment 3•13 years ago
|
||
https://github.com/mozilla/elmo/commit/423723335d8036d7a83622f68e18dd50a296e352, FIXED. Also, deployed on -dev-. The only follow-up on the apache config side is that we can remove the admin-media Alias, which I already did for the -dev- config. When we cut the next release, we should do that for -stage-, too. staticfiles already gathers the media files as is under collected/static/admin.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•