Skip to content

Refactor NewQuestionForm and update view logic for improved handling …#86

Open
Kushagra1122 wants to merge 1 commit intoSpoken-tutorial:masterfrom
Kushagra1122:new_fixes
Open

Refactor NewQuestionForm and update view logic for improved handling …#86
Kushagra1122 wants to merge 1 commit intoSpoken-tutorial:masterfrom
Kushagra1122:new_fixes

Conversation

@Kushagra1122
Copy link
Contributor

…of form submissions

  • Updated NewQuestionForm to better manage minute and second selections, ensuring proper initial values are set based on user input.
  • Enhanced category selection logic to handle cases where the category is missing or not found in the database, while still allowing submitted tutorials to be displayed.
  • Simplified view logic by replacing user role checks with a dedicated function for determining recaptcha requirements.

…of form submissions

- Updated NewQuestionForm to better manage minute and second selections, ensuring proper initial values are set based on user input.
- Enhanced category selection logic to handle cases where the category is missing or not found in the database, while still allowing submitted tutorials to be displayed.
- Simplified view logic by replacing user role checks with a dedicated function for determining recaptcha requirements.
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.

1 participant