old_contents: import codecs
  import urllib
  import urlparse
  
  from django.conf import settings
  from django.conf.urls.defaults import patterns
  from django.conf.urls.defaults import url
  from django.core.urlresolvers import reverse
  from django.utils import simplejson
  
  class Next():
      def encode(self, data):
          data = codecs.getencoder('rot13')(simplejson.dumps(data))[0]
          return urllib.urlencode({'next': data})
  
      def decode(self, data):
          return simplejson.loads(codecs.getdecoder('rot13')(data)[0])
  
  def redirect_uri(next, close):
      return urlparse.urljoin(
          settings.FACEBOOK_CANVAS_URL,
          reverse('facebook-auth-handler') + "?" +
          Next().encode({'next': next, 'close': close})
      )
  
  urlpatterns = patterns('facebook_auth.views',
      url(r'^handler$', 'handler', name='facebook-auth-handler'),
  )
  
new_contents: import codecs
  import urllib
  import urlparse
  
  from django.conf import settings
  from django.conf.urls import patterns
  from django.conf.urls import url
  from django.core.urlresolvers import reverse
  from django.utils import simplejson
  
  
  class Next():
      def encode(self, data):
          data = codecs.getencoder('rot13')(simplejson.dumps(data))[0]
          return urllib.urlencode({'next': data})
  
      def decode(self, data):
          return simplejson.loads(codecs.getdecoder('rot13')(data)[0])
  
  
  def redirect_uri(next, close):
      return urlparse.urljoin(
          settings.FACEBOOK_CANVAS_URL,
          reverse('facebook-auth-handler') + "?" +
          Next().encode({'next': next, 'close': close})
      )
  
  urlpatterns = patterns('facebook_auth.views',
      url(r'^handler$', 'handler', name='facebook-auth-handler'),
  )
  
subject: Remove deprecated import path.