Import ValidationError from django.core.exceptions instead of django.forms.

Review Request #4608 — Created Sept. 20, 2013 and submitted

Information

Review Board
master

Reviewers

Import ValidationError from django.core.exceptions instead of django.forms.

They haven't announced any official deprecation of this, but it seems like
exceptions are being consolidated in one place. This change also marks some of
the validation strings for translation which we had missed.

Ran unit tests

reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    reviewboard/admin/forms.py
    reviewboard/site/validation.py
    reviewboard/scmtools/forms.py
    reviewboard/reviews/forms.py
    reviewboard/admin/validation.py
    reviewboard/accounts/forms.py
    Ignored Files:

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    reviewboard/admin/forms.py
    reviewboard/site/validation.py
    reviewboard/scmtools/forms.py
    reviewboard/reviews/forms.py
    reviewboard/admin/validation.py
    reviewboard/accounts/forms.py
    Ignored Files:

  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed
Status:
Completed
Change Summary:

Pushed to master (6114f12).