Skip to content

QuestionStatus Model#39

Open
virajchandra51 wants to merge 1 commit intoTCP-Tech:devfrom
virajchandra51:20_django_model_questionStatus
Open

QuestionStatus Model#39
virajchandra51 wants to merge 1 commit intoTCP-Tech:devfrom
virajchandra51:20_django_model_questionStatus

Conversation

@virajchandra51
Copy link
Contributor

@virajchandra51 virajchandra51 commented Dec 18, 2022

#20

Description

Include a summary of the change and relevant motivation/context. List any dependencies that are required for this change.

Type of Change: (Delete irrelevant options)

  • Code
  • Testing
  • User Interface
  • Documentation

Code/Quality Assurance Only (Delete irrelevant options)

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update (software upgrade on readme file)
  • New feature (non-breaking change which adds functionality pre-approved by mentors)

How Has This Been Tested?

Describe the tests you ran to verify your changes. Provide instructions or GIFs so we can reproduce. List any relevant details for your test.

Checklist:

  • My PR follows the style guidelines of this project
  • I have performed a self-review of my own code or materials
  • I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged
  • Update Swagger documentation and the exported file at /docs folder
  • Update requirements.txt

Code/Quality Assurance

  • My changes generate no new warnings
  • My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been published in downstream modules

@virajchandra51
Copy link
Contributor Author

Please guide on how to link the mentee id in this model, rest all has been done.
@sahil9001 @prakhar-asaiya @ayushgoswamiabr

@ayushgoswamiabr
Copy link
Contributor

One question will have many question status for different mentee so question status will be related to question in many to one relationship so you can use foreign key for it and one question status will be only related to one unique mentee so it will be a one to one relationship and for this you can use onetoonefield

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants