Using Form in a View In Django, the request object passed as parameter to your view has an attribute called “method” where the type of the request is set, and all data passed via POST can be accessed via the request. POST dictionary . The view will display the result of the login form posted through the loggedin.