How to detect Browser type in Django?
How can i detect which browser type the client is using. I have a problem where i have to ask people to use different browser (Firefox) instead of IE. How can i get this information. I know http request has this information (Header). How will i get the navigator.appName from the view.py in the Django framework ? You can extract that information from the request object like so: request.META['HTTP_USER_AGENT'] Ahmad Awais There are multiple ways of getting that done. The easiest way is what @digitaldreamer recommended. That is you can make a meta request for HTTP_USER_AGENT . request.META['HTTP