def _get_stored_location(self):
        """ Get location from cookie.

        :param request: A ususal request object
        :type request: HttpRequest
        :return: Custom location model
        """
        location_storage = storage_class(request=self.request, response=None)
        return location_storage.get()
Get location from cookie.

        :param request: A ususal request object
        :type request: HttpRequest
        :return: Custom location model