Did I find the right examples for you? yes no

All Samples(5)  |  Call(2)  |  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
 
    else:
        cur_list = GroceryList()
 
    if request.method=='POST':
        #not validating the form since the form is only a prepoulated drop box and can't really be validated
        if request.POST['lists'] == '0':  #must of selected to create a new list because no id can be set to zero otherwise
            list = GroceryList()
            list.title=date.today()
            list.author=request.user

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