used get_foo_display instead of unnecessary dictionary
Merge pull request #1 from fatiherikli/patch-1

used get_foo_display instead of unnecessary dictionary