• 
      

    Don't fail to render a datagrid for objects without get_absolute_url().

    Review Request #7276 — Created May 1, 2015 and submitted

    Information

    Djblets
    release-0.9.x
    249461e...

    Reviewers

    A recent change for better responsive UI support in datagrids made the
    assumption that objects always have a get_absolute_url() method. This
    isn't always the case, though. Now, if that method is missing, we simply
    return None.

    Unit tests pass.

    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          djblets/datagrid/grids.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          djblets/datagrid/grids.py
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.9.x (82ff1e7)