diff --git a/app/event/models.py b/app/event/models.py index 6036a16..b39b92d 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -40,7 +40,7 @@ class Event(models.Model): if 'youtube.com/watch' in url: url = url.replace('/watch?v=', '/embed/') elif 'twitter.com/' in url: - url = ur.replace('twitter.com', 'nitter.net') + url = url.replace('twitter.com', 'nitter.net') html += '' % url if self.media_caption: html = '
%s
%s
' % (html, self.media_caption)