Ticket #1834: adminmedia.diff

File adminmedia.diff, 387 bytes (added by James Bennett, 19 years ago)

Documentation patch for admin_media_prefix tag

  • adminmedia.py

     
    33register = Library()
    44
    55def admin_media_prefix():
     6    """
     7    Returns the string contained in the setting ADMIN_MEDIA_PREFIX.
     8    """
    69    try:
    710        from django.conf import settings
    811    except ImportError:
Back to Top