1👍
✅
I recommend creating a named url in your urls.py, and then reversing the url in your get_absolute_url function. See the Django docs for reverse().
Source:stackexchange.com
1👍
I recommend creating a named url in your urls.py, and then reversing the url in your get_absolute_url function. See the Django docs for reverse().