tofumatt/mozillians — comment on commit a13faefdf9e296cba88596a6c155cf1631d962b5
File: apps/phonebook/forms.py line 125
By ednapiranha:

could this method be optimized with the following?:

```if self.cleaned_data['country']:
country = Country.objects.filter(id=self.cleaned_data['country'])
return country[0] if country else None```