Did I find the right examples for you? yes no

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

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
def groceryShareList(request, user, slug):
    list = get_object_or_404(GroceryList, slug=slug, author=request.user)
    if request.method == 'POST':
        shared_list = GroceryShared(list=list)
        form = GroceryShareTo(request.POST,instance=shared_list)

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):

src/o/p/OpenEats-HEAD/list/forms.py   OpenEats(Download)
from django.forms import ModelForm, forms
import django.forms as forms
from django.forms.widgets import HiddenInput
from django.http import HttpResponse
from models import GroceryList,GroceryShared,GroceryAisle