diff gigs/models.py @ 90:447d75d1e21d

For Django 1.5: localflavor is deprecated in preference to a 3rd party app.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 20:03:32 -0500
parents e2868ad47a1e
children
line wrap: on
line diff
--- a/gigs/models.py	Tue Aug 27 19:53:31 2013 -0500
+++ b/gigs/models.py	Tue Aug 27 20:03:32 2013 -0500
@@ -3,8 +3,8 @@
 
 """
 from django.db import models
-from django.contrib.localflavor.us.models import USStateField
-from django.contrib.localflavor.us.models import PhoneNumberField
+from localflavor.us.models import USStateField
+from localflavor.us.models import PhoneNumberField
 
 from photologue.models import Photo
 
@@ -43,7 +43,7 @@
     def __unicode__(self):
         if self.state:
             return u'%s, %s' % (self.name, self.state.abbrev)
-        
+
         return self.name