Changeset 2920
- Timestamp:
- 05/16/06 15:28:50 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/admin/templatetags/adminapplist.py
r2861 r2920 54 54 def get_admin_app_list(parser, token): 55 55 """ 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 %} 57 66 """ 58 67 tokens = token.contents.split() django/trunk/django/contrib/admin/templatetags/adminmedia.py
r2809 r2920 4 4 5 5 def admin_media_prefix(): 6 """ 7 Returns the string contained in the setting ADMIN_MEDIA_PREFIX. 8 """ 6 9 try: 7 10 from django.conf import settings
