Get Url from request object

linkaiyi
Follow

Path with domain

request.META['HTTP_REFERER']

Path without domain but with query string

request.get_full_path_info()

Path without domain and query string

request.META['PATH_INFO']
Object has 0 attachments

Was this article helpful?

This article is viewed 38 times!

0 Comments

Leave a Comment

Support