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

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

src/a/r/archfinch-HEAD/main/models.py   archfinch(Download)
    def get_meta_data(self):
        from django.core.exceptions import ObjectDoesNotExist
        from archfinch.links.scraper import scrape, generate_thumbnail
 
        scraped_data = {}
                self.html = scraped_data['html']
            if scraped_data['category'] == 'pic':
                generate_thumbnail(self)
 
        self.save()

src/a/r/archfinch-HEAD/main/forms.py   archfinch(Download)
from archfinch.main.models import Item, ItemProfile, Category
from archfinch.links.models import Link
from archfinch.links.scraper import scrape, generate_thumbnail
from archfinch.utils.spam import AntiSpamModelForm
from django.shortcuts import redirect