• 
      

    Add a new querystring_with tag to help with building links.

    Review Request #7268 — Created April 29, 2015 and submitted

    Information

    Djblets
    release-0.9.x
    e04c0d4...

    Reviewers

    We often have cases where we want to create a link that will go back to the
    same page, but with a single different querystring parameter. Traditionally
    these links have been hard-coded, and doing so will drop all the other things
    in the querystring. We do have a helper utility for doing what we want in
    python (get_url_params_except), which is used in some places.

    This change adds a new templatetag, querystring_with, that will build a new
    querystring that has everything in the current one, but with the value of a
    single variable changed.

    Used this with other changes.

    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          djblets/util/templatetags/djblets_utils.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          djblets/util/templatetags/djblets_utils.py
      
      
    2. 
        
    brennie
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.9.x (40d5051)