how What is @permalink and get_absolute_url in Django?
Please a very simple example (a real practical example). Thanks
Both are concerned with allowing you to reverse the URL for a particular object and should be used together. They are used anytime you need to provide a link to a particular object or want to display that object’s specific URL (if it has one) to the user
You could simply write your
If you read the docs on the subject you will see how they relate to each other. the
and in urls.py