'Function of defining an absolute URL in a model in Django

I am currently completing the final capstone project for Django on Codecademy, and I've come across a comprehension issue.

On Codecademy, they state that it's used to redirect to the homepage when a user submits data, while the Django documentation for get_absolute_url seems to make no reference to redirects.

I currently have no absolute urls defined for any of my models, and these are my url patterns and views.

At this stage, I'm just trying to understand the purpose of defining an absolute URL in a model, and where the appropriate places to utilize it are. I'm very confused about it's function currently, and would appreciate a simplified explanation with examples.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source