@@ -0,0 +1,718 @@
+from django.contrib.auth.forms import PasswordResetForm%0A%0A%0Aclass PasswordResetForm(PasswordResetForm):%0A    %22%22%22%0A    An extended Password reset form designed for staff users.%0A%0A    It limits the users allowed to use this form the send them a%0A    password reset email to staff users only.%0A    %22%22%22%0A    def get_users(self, email):%0A        %22%22%22%0A        Make sure users are staff users.%0A%0A        Additionally to the other PasswordResetForm conditions ensure%0A        that the user is a staff user before sending them a password%0A        reset email.%0A%0A        :param email: Textual email address.%0A        :return: List of users.%0A        %22%22%22%0A        return (u for u in super(PasswordResetForm, self).get_users(email) if u.is_staff)%0A

Add admin form for password reset to limit to staff.