Summary: | [GSOC] Remove Deprecation Warnings from okupy after upgrade to Django 1.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gaurish Sharma <contact> |
Component: | [OLD] Unspecified | Assignee: | Theo Chatzimichos (RETIRED) <tampakrap> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://git.overlays.gentoo.org/gitweb/?p=proj/okupy.git;a=summary | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | remove deprecation warnings |
Description
Gaurish Sharma
2012-04-07 23:00:51 UTC
do you want me to do it or do you prefer to send me a patch instead? Created attachment 308173 [details, diff]
remove deprecation warnings
The warning says to replace it with STATIC_URL instead Yes you are correct but as STATIC_URL has already defined (http://git.overlays.gentoo.org/gitweb/?p=proj/okupy.git;a=blob;f=settings/base.py;h=d2f789f31b1b3fd28fa56a3f7e75803623e02b9c;hb=HEAD#l30) . According to release notes, Django will now expect to find the admin static files under the URL /static/admin/ without need to for setting explicitly specifying it. https://docs.djangoproject.com/en/dev/releases/1.4/#django-contrib-admin PS: I am doing this bugfix as part of gentoo's requirement to fix one bug while applying for gsoc. Pushed, thanks Perfect Thanks! |