Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Staff Department choices in User Model #83

Open
divyanshkhetan opened this issue Jun 23, 2022 · 2 comments
Open

Add Staff Department choices in User Model #83

divyanshkhetan opened this issue Jun 23, 2022 · 2 comments
Labels
API to label task requiring changes in API enhancement New feature or request

Comments

@divyanshkhetan
Copy link
Contributor

divyanshkhetan commented Jun 23, 2022

Is your proposal related to a problem?

The Department section in user model is left as a text field.

Describe the solution you'd like

Add various departments to which the staff can belong as a choice field. PS - I am referring to departments within the gymkhana to which staff belongs and not the academic departments.

@divyanshkhetan divyanshkhetan added enhancement New feature or request API to label task requiring changes in API labels Jun 23, 2022
@Samy-33 Samy-33 added this to Gymkhana Jun 23, 2022
@Samy-33 Samy-33 moved this to Todo in Gymkhana Jun 23, 2022
@Samy-33 Samy-33 changed the title Add Staff Department in User Model Add Staff Department choices in User Model Jun 25, 2022
@PranshuNayak
Copy link
Contributor

As seen on the gymkhana website only faculties and students are position holders. If you can elaborate what positions you are talking about ?

@Samy-33
Copy link
Member

Samy-33 commented Jul 7, 2022

As seen on the gymkhana website only faculties and students are position holders. If you can elaborate what positions you are talking about ?

This issue is about:

# TODO(#83): add choices in department to which staff belongs to
department = models.CharField(max_length=100)

A staff member could be a part of administration, computer-center, mechanical lab, accounts, library etc. Find out all the departments for staff members and add them in choices for Staff.department.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API to label task requiring changes in API enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants