Question: Which function in the django.urls package can help you avoid hardcoding URLS by generating a URL given the name of a view?
- get_script_prefix()
- redirect()
- reverse()
- resolve()
Answer: The correct answer of the above question is Option C:reverse()