docs: def get_request_mock():
      """Build a ``request`` mock up for tests"""
      from django.test.client import RequestFactory
      from django.core.handlers.base import BaseHandler
      factory = RequestFactory()
  
      request = factory.get('/')
      
      class FakeUser():
          is_authenticated = False
          is_staff = False
  
      request.user = FakeUser()
      request.session = {}
  
      return request