1. Monwara LLC
  2. Untitled project
  3. django-url-tools

Commits

Nicolas Laurance  committed 6a58603

filter a param

  • Participants
  • Parent commits 8cff83c
  • Branches master

Comments (0)

Files changed (1)

File url_tools/templatetags/urls.py

View file
     except:
         return ''
     
+@register.filter
+def suppr_param(url, arg):
+    return del_params(url, arg)
+    
+    
+    
 @register.simple_tag
 def insert_params(url, **kwargs):
     if type(url) == UrlHelper: