# HG changeset patch # User Brian Neal # Date 1377651812 18000 # Node ID 447d75d1e21d3f67ef64408b0bccf5bbd33e61c4 # Parent b7cdfdde399935163030f47213c7335618861d7a For Django 1.5: localflavor is deprecated in preference to a 3rd party app. diff -r b7cdfdde3999 -r 447d75d1e21d gigs/models.py --- 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 diff -r b7cdfdde3999 -r 447d75d1e21d madeira/settings/base.py --- a/madeira/settings/base.py Tue Aug 27 19:53:31 2013 -0500 +++ b/madeira/settings/base.py Tue Aug 27 20:03:32 2013 -0500 @@ -100,6 +100,7 @@ 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', + 'localflavor', 'articles', 'band', 'email_list', diff -r b7cdfdde3999 -r 447d75d1e21d requirements.txt --- a/requirements.txt Tue Aug 27 19:53:31 2013 -0500 +++ b/requirements.txt Tue Aug 27 20:03:32 2013 -0500 @@ -1,8 +1,11 @@ -Django==1.4.5 +Django==1.5.2 MySQL-python==1.2.4 argparse==1.2.1 python-memcached==1.48 wsgiref==0.1.2 +django-localflavor==1.0 +docutils==0.8.1 +textile==2.1.5 # # PIL is also hacked into the virtualenv via a symlink to the site-packages version #