def get_all_field_names(model):
return [f.name for f in model._meta.get_fields()]<EOL>
Return all fields' names from a model.

According to `Django documentation`_, ``get_all_field_names`` should become some monstrosity with chained
iterable ternary nested in a list comprehension. For now, a simpler version of iterating over fields and
getting their names work, but we might have to switch to full version in future.

.. _Django documentation: https://docs.djangoproject.com/en/1.8/ref/models/meta/