Clean up several aspects of the models

Review Request #436 — Created July 4, 2008 and submitted

Information

Review Board SVN (deprecated)
trunk

Reviewers

Cleaned up some of the models by giving all relationship fields explicit related_name fields, rather than using Django's pre-generated defaults. This makes for more natural names and is something we'd want to do before extensions land later on.

This also moves error types and the custom Manager in reviews to their own files.
All unit tests pass.
david
  1. What implications does this have for migrations?
    1. None of these changes cause database changes. I checked. They're all internal to Django.
  2. /trunk/reviewboard/reviews/datagrids.py (Diff revision 1)
     
     
     
    I can't tell if it's just my browser or not, but indentation here looks weird.
  3. 
      
Loading...