Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/f/e/feedhq-HEAD/feedhq/reader/views.py   feedhq(Download)
from six.moves.urllib import parse as urlparse
 
from ..feeds.forms import FeedForm, user_lock
from ..feeds.models import Feed, UniqueFeed, Category
from ..feeds.utils import epoch_to_utc
        existing_feeds = set(request.user.feeds.values_list('url', flat=True))
        try:
            with user_lock('opml_import', request.user.pk, timeout=30):
                imported = save_outline(request.user, None, entries,
                                        existing_feeds)