<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fields(self):
 """ Provides an iterable for all model fields. """

        for attr, value in self._meta.fields.items():
            if isinstance(value, Field):
                yield attr, value