Source

django-admin-tools / admin_tools / utils.py

Diff from to

File admin_tools/utils.py

     if type(dashboard_cls) is types.DictType:
         if context:
             request = context.get('request')
-        curr_url = request.META['PATH_INFO']
+        curr_url = request.path
         for key in dashboard_cls:
             mod, inst = key.rsplit('.', 1)
             mod = import_module(mod)