title: Appropriate way to handle deprecated `adminmedia` templatetag and {% admin_media_prefix %}
body: <p>From django 1.5 onwards, <a href="https://docs.djangoproject.com/en/1.5/releases/1.5/#miscellaneous">https://docs.djangoproject.com/en/1.5/releases/1.5/#miscellaneous</a> </p>
  
  <blockquote>
    <p>The template tags library adminmedia, which only contained the
    deprecated template tag {% admin_media_prefix %}, was removed.
    Attempting to load it with {% load adminmedia %} will fail. If your
    templates still contain that line you must remove it.</p>
  </blockquote>
  
  <p>So what is the appropriate way to <strong>replace code</strong> found in legacy libraries and my legacy projects which still uses <code>{% load adminmedia %}</code> and loads css like:-</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="{% load adminmedia %}{% admin_media_prefix %}css/login.css"&gt;
  </code></pre>
  
  <p>?</p>