Turning off autocomplete for facebook feeds.

This commit is contained in:
Samuel Clay 2014-09-18 10:07:21 -07:00
parent 05cb8551ea
commit a390981b93
2 changed files with 2 additions and 0 deletions

View file

@ -106,6 +106,7 @@ def feed_autocomplete(request):
feeds = list(set([Feed.get_by_id(feed_id) for feed_id in feed_ids]))
feeds = [feed for feed in feeds if feed and not feed.branch_from_feed]
feeds = [feed for feed in feeds if 'facebook.com/feeds/notifications.php' not in feed.feed_address]
if format == 'autocomplete':
feeds = [{
'id': feed.pk,

1
fabfile.py vendored
View file

@ -443,6 +443,7 @@ def pip():
with cd(env.NEWSBLUR_PATH):
sudo('easy_install -U pip')
sudo('pip install --upgrade pip')
sudo('pip install --upgrade six') # Stupid cryptography bug requires upgraded six
sudo('pip install -r requirements.txt')
# PIL - Only if python-imaging didn't install through apt-get, like on Mac OS X.