The "Change Repository" page does not hide the password field

Review Request #865 — Created May 9, 2009 and submitted — Latest diff uploaded

Information

Review Board SVN (deprecated)
942

Reviewers

In the "Change Repository" page, one can enter/edit details of the repository that is to be used.
The password field is not hidden in this page.

This happens because one can't set any attributes for a field in a Django model to specify that it's a password.

The change, adds a RepositoryForm class which overrides the "password" field of the model to use a "PasswordInput" widget. Also the "RepositoryAdmin" class is changed to use RepositoryForm as the form.

This should fix Issue 942, I think.

 
    Loading...