Viewing: trunk/collection/views.py

Revision: 55

View as text-only | View History
Index: views.py
===================================================================
--- views.py	(revision 55)
+++ views.py	(revision 59)
@@ -98,7 +98,7 @@
         #    body = get_template("collection/notifications/new_movie.txt").render(Context({'user':watchlist.owner, 'movie':self.object}))
         #    watchlist.owner.email_user('Nick added a new %s movie' % self.object.genre, body)
         movie_url = 'http://www.cinema-nick.com%s' % self.object.get_absolute_url()
-        urls = urllib.urlencode({'href':movie_url, 'redirect_url':movie_url})
+        urls = urllib.urlencode({'href':movie_url, 'redirect_uri':movie_url})
         return HttpResponseRedirect('https://www.facebook.com/dialog/share?app_id=%s&display=page&%s' % (settings.FACEBOOK_APP_ID, urls))
 
 class MovieDetail(DetailView):