Browse Source

Note.

master
Erik Stein 4 years ago
parent
commit
5746a65ca0
  1. 1
      shared/utils/templatetags/debug_utils.py

1
shared/utils/templatetags/debug_utils.py

@ -23,6 +23,7 @@ except ImportError:
pass
# TODO Move get_admin_url to different template tag library
@register.filter
def get_admin_url(obj):
content_type = ContentType.objects.get_for_model(obj.__class__)

Loading…
Cancel
Save