forms.py

About this file

This file defines the forms used to add user-request form, edit the forms and remove those forms.

Code Issues

  • Recommend adding class descriptions describing the purpose of each class.
  • The AddUserRequestForm and the EditUserRequestForm classes share same attributes. Recommend coding a parent class that inherits from Form to reduce code repeition.

Code Check Report


No problems to report
                        

Documentation drawn from source code


AddUserRequestForm(Form):

__init__(self, assigned_users):

EditUserRequestForm(Form):

__init__(self, assigned_users):

RemoveUserRequestForm(Form):

__init__(self, assigned_users):

Source code