Add a mixin for helping with queries in API resources.

Review Request #7500 — Created July 7, 2015 and submitted

chipx86
Djblets
release-0.9.x
277b039...
djblets

This brings over a numeric range query helper from Review Board into
Djblets, as part of a new APIQueryUtilsMixin. Resources can mix this in
to help keep queries from the user consistent and simple.

Unit tests pass on Djblets and Review Board (with the modification to use this).

Built the docs and verified them.

Description From Last Updated

'six' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/resources/mixins/queries.py
        djblets/webapi/tests/test_apiqueryutilsmixin.py
    
    Ignored Files:
        docs/djblets/coderef/index.rst
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/webapi/resources/mixins/queries.py
        djblets/webapi/tests/test_apiqueryutilsmixin.py
    
    Ignored Files:
        docs/djblets/coderef/index.rst
    
    
  2.  'six' imported but unused
    
  3. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.9.x (83203a9)
Loading...