[Soc2014] Official meta API

Maybe:
```python
for related_object in model._meta.related_objects:
    app_label = related_object.model._meta.app_label
    object_name = related_object.model._meta.object_name
    field_name = related_object.field.name

    dependencies.append((app_label, object_name, field_name, False))

    if not isinstance(related_object.field, models.ManyToManyField):
        dependencies.append((app_label, object_name, field_name, "alter"))
```
?

Accessing data twice via a chain of attributes is not that efficient