Django Tutorial - Django get_object_or_404()

Опубликовано: 04 Октябрь 2024
на канале: Geeks Coders
2,219
32

Join Django Free Course:
https://geekscoders.com/courses/djang...

In this Django Tutorial we are going to talk about Django get_object_or_404(), it calls get() on a given model manager, but it raises Http404 instead of the model’s DoesNotExist exception. also we are going to learn that how you can create links for your Question model items that is retrieved from the database.


Django
Django Tutorial
Django get_object_or_404()