# Get current url path in Django
1. Use this code
currenturl = request.get_full_path()
print(currenturl)
* If you will use print () then output will be shown in your terminal
1. Use this code
currenturl = request.get_full_path()
print(currenturl)
* If you will use print () then output will be shown in your terminal
No comments:
Post a Comment