Updated code to use django-localflavor instead of deprecated version