Did I find the right examples for you? yes no

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

src/o/p/OpenEats-HEAD/list/views.py   OpenEats(Download)
from django.utils.translation import ugettext as _
from recipe.models import Recipe
from models import GroceryList, GroceryItem, GroceryShared, GroceryAisle, GroceryRecipe
from forms import GroceryListForm, GroceryItemFormSet,GroceryUserList,GrocerySendMail, GroceryShareTo, GroceryAisleForm
from datetime import date
 
        for ing in recipe.ingredients.all():
            new_item = GroceryItem()
            new_item.list_id = list.id
            new_item.item =  str(ing.quantity) + ' '  + str(ing.measurement) + ' ' + ing.title
            new_groceryRecipe.save()
            for ing in recipe.related.ingredients.all():
                new_item = GroceryItem()
                new_item.list_id = list.id
                new_item.item =  str(ing.quantity) + ' '  + str(ing.measurement) + ' ' + ing.title

src/o/p/OpenEats-HEAD/list/admin.py   OpenEats(Download)
from django.contrib import admin
from models import GroceryList, GroceryItem, GroceryAisle, GroceryShared,GroceryRecipe
from forms import GroceryItemFormSet
 
class GroceryListInline(admin.TabularInline):