Loading url from future and changing url parameters to explicit strings to accommodate the change in the url tag parameters. The future library was introduced in Django 1.3. In Django versions 1.3/1.4, the future library contains the new definition of the url tag. In Django 1.5 the default url tag was replaced with the version in future and the version of the url tag in future was modified to act as a simple wrapper for the default tag. The future library will be removed in Django 2.0.
Creating our own version of the ADMIN_MEDIA_PREFIX template tag. This tag was removed in Django 1.4. The arm version of this tag calls the admin_media_prefix function from adminmedia for Django versions 1.3 or less. For newer versions of Django, this tag returns a prefix matching the new convention (<STATIC_URL>/admin/).