<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _descriptor_names(self):
 """ Attributes which are Django descriptors. These represent a field which is a one-to-many or many-to-many relationship that is potentially defined in another model, and doesn't otherwise appear as a field on this model. """


        descriptor_names = []

        for name in dir(self):
            try:
                attr = getattr(type(self), name)

                if isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES):
                    descriptor_names.append(name)

            except AttributeError:
                pass

        return descriptor_names