Add fields attribute

Avoid Django 1.8 deprecation warning