fix flickr django issues