Make CounterField increment by specified value instead of 1

Review Request #3948 — Created March 8, 2013 and submitted

Information

Djblets

Reviewers

Add support for CounterField's increment and decrement functions to increment/decrement by a specified value rather than 1. The values still default to 1, so existing functionality continues to work.

Note: This functionality is required for the issue counts to be calculated. Please see review 3949
Tested with creating review requests, adding reviews with multiple issues and verifying the counts are correct.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/util/fields.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
RA
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (0919dff)
Loading...