Closed Bug 740431 Opened 12 years ago Closed 12 years ago

Fix admin media urls (Stop using ADMIN_MEDIA_PREFIX)

Categories

(support.mozilla.org :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012Q3

People

(Reporter: rrosario, Assigned: rrosario)

References

Details

(Whiteboard: u=dev c=general p=0 s=2012.24)

Looks like we have to switch to STATIC_URL and the admin media will then be assumed to be at `{{ STATIC_URL }}/admin/`. Right now admin media is at `/admin-media/`

There is this warning showing up:

/data/support/www/support.mozilla.org/kitsune/vendor/src/django/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
  "use STATIC_URL instead.", DeprecationWarning)
Blocks: 740013
Depends on: 740636
Blocked by IT.
Whiteboard: u=dev c=general p=1
Target Milestone: 2012.6 → ---
The first half of this is done. We added STATIC_URL to settings and are collecting the static files when deploying. The last step is removing ADMIN_MEDIA_PREFIX but we can't do that until /static/ is set up on prod (bug 740636).

https://github.com/mozilla/kitsune/commit/1bcb4b6a0a4bb0ec487144f46c6deb34d9640ba6
Assignee: nobody → rrosario
Target Milestone: --- → 2012Q2
Target Milestone: 2012Q2 → 2012Q3
This isn't a P1. More like a P3, would be good to get to it soon to upgrade to latest django.
Priority: P1 → P3
Landed and deployed:

https://github.com/mozilla/kitsune/commit/4df97069d6594b08208ff2e7188978631ff86682
Whiteboard: u=dev c=general p=1 → u=dev c=general p=0 s=2012.24
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.