<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def patch_django_for_autodoc():
 """Fix the appearance of some classes in autodoc. This avoids query evaluation. """

    # Fix Django's manager appearance
    ManagerDescriptor.__get__ = lambda self, *args, **kwargs: self.manager

    # Stop Django from executing DB queries
    models.QuerySet.__repr__ = lambda self: self.__class__.__name__