def handle(self, *args, **options):
     utils.get_html("http://allrecipes.com", 4)
     print "Successfully fetched all recipes"
     print "Run python manage.py update_index to update elasticsearch"
예제 #2
0
def get(request):
    utils.get_html("http://allrecipes.com", 2)
 def handle(self, *args, **options):
     utils.get_html("http://allrecipes.com", 4)
     print "Successfully fetched all recipes"
     print "Run python manage.py update_index to update elasticsearch"
예제 #4
0
def get(request):
    utils.get_html("http://allrecipes.com", 2)