Ticket #1834: adminapplist.diff

File adminapplist.diff, 633 bytes (added by James Bennett, 19 years ago)

Documentation patch for admin_app_list tag

  • adminapplist.py

     
    5353
    5454def get_admin_app_list(parser, token):
    5555    """
    56     {% get_admin_app_list as app_list %}
     56    Returns a list of installed applications and models for which the current user
     57    has at least one permission.
     58
     59    Syntax::
     60   
     61        {% get_admin_app_list as [context_var_containing_app_list] %}
     62
     63    Example usage::
     64
     65        {% get_admin_app_list as admin_app_list %}
    5766    """
    5867    tokens = token.contents.split()
    5968    if len(tokens) < 3:
Back to Top