• 
      

    Fix RelationCounterField on Django 1.7+.

    Review Request #7422 — Created June 13, 2015 and submitted

    Information

    Djblets
    release-0.9.x
    e81cc18...

    Reviewers

    Django 1.7+ changed some variables around for relation fields, turning
    parent_model into model and model into related_model. Especially
    in the case of model, the meaning has changed significantly. We now
    have some compatibility functions that check for the right thing when
    attempting to access the proper variable. This restores test
    functionality, bringing compatibility to Django 1.6 and 1.7/1.8.

    These unit tests pass on Django 1.6 and 1.8.

    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          djblets/db/fields.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          djblets/db/fields.py
      
      
    2. 
        
    david
    1. Change looks good but the formatting on your summary seems off.

    2. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-0.9.x (65430a3)