• 
      

    Add support in datagrids for simpler QuerySet-like objects.

    Review Request #7436 — Created June 18, 2015 and submitted

    Information

    Djblets
    release-0.9.x
    6676e85...

    Reviewers

    Datagrids are now a bit less QuerySet-specific. They still take
    QuerySet-like objects, but it's no longer necessary for them to support
    distinct(), values_list(), or to have a model attribute.

    This is primarily intended for use with Haystack's SearchQuerySet, which
    can now be used to back the results of a datagrid. In this case, a
    search result will be paginated, with each page turning into a typical
    model query based on that page's IDs.

    Tested with standard datagrids with a real Queryset, and with a SearchQuerySet.

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