Skip to content

Commit

Permalink
Update django-quiz.md (#3913)
Browse files Browse the repository at this point in the history
* Update django-quiz.md

Added the missing questions

* Update django-quiz.md

Co-authored-by: Zhenëk <evg.bazhanov@yahoo.com>
  • Loading branch information
subashkonar13 and Ebazhanov authored Jul 2, 2022
1 parent 8bf265a commit 60c2640
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions django/django-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,3 +635,26 @@ model=Planet
- [ ] PUT
- [x] PAUSE
- [ ] PATCH
#### Q69. Which helper function is not provided as a part of django.shortcuts package? ref-
- [x] render_to_request()
- [ ] render()
- [ ] redirect()
- [ ] get_object_or_404()
[Reference](https://docs.djangoproject.com/en/4.0/topics/http/shortcuts/#:~:text=The%20package%20django.,controlled%20coupling%20for%20convenience's%20sake)
#### Q70. Which is a nonstandard place to store templates?
- [x] at the root level of a project
- [ ] inside the application
- [ ] in the database
- [ ] on Github
#### Q71. If you left the 8080 off the command python manage.py runserver 8080 what port would Django use as default?
- [x] 8080
- [ ] 80
- [ ] 8000
- [ ] It would fail to start

0 comments on commit 60c2640

Please sign in to comment.